Bash completion for Maven escapes colon

Posted by armandino on Stack Overflow See other posts from Stack Overflow or by armandino
Published on 2010-05-10T18:36:43Z Indexed on 2010/05/11 1:04 UTC
Read the original article Hit count: 404

Filed under:
|
|
|
|

I added bash completion for Maven following the docs:

http://maven.apache.org/guides/mini/guide-bash-m2-completion.html

Everything works well except for goals that use a colon. For instance, instead of

mvn eclipse:eclipse

completion escapes the colon

mvn eclipse\:eclipse

Any suggestions how this can be fixed? I'm using Ubuntu 8.10 (2.6.27-17-generic) and

$ bash -version
GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)

© Stack Overflow or respective owner

Related posts about bash

Related posts about shell