Auto completion in Bash for Maven
Step 1 : Check if bash_completion in enabled in your .bashrc.
Step 2 : Add the file attached to /etc/bash_completion.d/m2.
Step 3 : Enjoy auto-completion for Maven.
The Code Lines :
complete -F _m2_complete -o filenames mvn Indicates to apply _m2_complete for command following mvn
compgenGenerate possible completion matches for word according to the options.
Recent blog posts
- watir-webdriver web inspector
 - gem list to gemfile
 - Packing ruby2.0 on debian.
 - Made it into The Guinness Book!
 - to_h in ruby 2.0
 - Filter elements by pattern jQuery.
 - Better HTML password fields for mobile ?
 - Grayscale image when user offline
 - nth-child CSS pseudo-class Christmas colors
 - EventEmitter in nodejs