Re: [BUG] Autocompletion fails with "bash: words: bad array subscript"
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- May 10, 2011, 21:02 UTC
- Message-ID
- <BANLkTin9=7y+2eqUgo_ObcYeGs3TQ7YMGw@mail.gmail.com>
- In-Reply-To
- <20110510210116.GA25224@sigill.intra.peff.net>
Heya,
On Tue, May 10, 2011 at 23:01, Jeff King <peff@peff.net> wrote:
> Right. Bash calls into our __git() completion function, which calls the > implementation of _get_comp_words_by_ref from /etc/bash_completion, > which has the bug. If you don't source git completion, then you are just > getting bash's default file completion.
So should we file this bug with bash's completion people? Also, how did you manage to reproduce? It doesn't happen all the time for me.
-- Cheers, Sverre Rabbelier