[BUG] Autocompletion fails with "bash: words: bad array subscript"
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- May 10, 2011, 20:13 UTC
- Message-ID
- <BANLkTi=nOUEp_J+2dkZZp=HvER-eAdG9eg@mail.gmail.com>
Heya,
[cced: git completion people]
This happens if I try use ctrl-shift-r (reverse-i-search) for the string `git commit -am "S`, resulting in the following:
(reverse-i-search)`git commit -am "S': git commit -am "Set new Melange version number to 2-0-20110501 in app.yaml.template."
If I then hit tab, I get:
$ bash: words: bad array subscriptversion number to 2-0-20110501 in app.yaml.template."
Hitting tab again gives:
bash: words: bad array subscript
Display all 3032 possibilities? (y or n)
I have no clue how to debug this, other than that it doesn't happen if I don't source ~/code/git/contrib/completion/git-completion.bash.
Anyone have any idea's?
-- Cheers, Sverre Rabbelier