The Mini Guide "Guide to Maven 2.x auto completion using BASH" at http://maven.apache.org/guides/mini/guide-bash-m2-completion.html contains an extra space in one line of the script which caused it to fail.
The line
cur=${ COMP_WORDS[COMP_CWORD]}
should be
cur=${COMP_WORDS[COMP_CWORD]}
i.e. no space between "${" and "COMP_WORDS"
Works perfectly otherwise! Thanks.
fixed in rev 608553. Thanks.
fixed in rev 608553.
Thanks.