Make it more future proof by not using first and last command
also fixed a typo
This commit is contained in:
parent
5038cc82b2
commit
f59054dae4
|
@ -1,3 +1,3 @@
|
||||||
# Autocompletion for Vagrant just put this line in your ~/.profile or lik this file into it like:
|
# Autocompletion for Vagrant just put this line in your ~/.profile or link this file into it like:
|
||||||
# source /path/to/vagrant/contrib/bash/completion.sh
|
# source /path/to/vagrant/contrib/bash/completion.sh
|
||||||
complete -W "$(echo `vagrant --help | awk '/box/,/up/ {print $1}'`;)" vagrant
|
complete -W "$(echo `vagrant --help | awk '/^ /{print $1}'`;)" vagrant
|
||||||
|
|
Loading…
Reference in New Issue