The root cause is how bash itself handles curlies:

$ bash --norc
$ foo() { echo; echo "'$1'"; }
$ complete -D -F foo
$ r drivers/memory/tegra/tegra{-,124-e}mc.c dri<TAB>
'-,124-e}mc.c'

...i.e. bash thinks we're completing the command '-,124-e}mc.c'.

I don't think we can sanely fix this for real in bash completion, but
this commit will improve things -- no more errors, and minimal
filename completion activated:
http://anonscm.debian.org/cgit/bash-completion/bash-completion.git/commit/?id=32e6e49


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to