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 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel