Bash completion for Maven escapes colon

前端 未结 4 1221
粉色の甜心
粉色の甜心 2020-12-30 06:42

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 goal

4条回答
  •  不思量自难忘°
    2020-12-30 07:10

    I'd go with the Maven2 Bash Completion File at willcodeforbeer.com.

    • works great
    • handles colons
    • doesn't muck up global variable COMP_WORDBREAKS (thereby breaking scp, etc)
    • easy to edit and understand

    Hope that helps!

提交回复
热议问题