Make it more future proof by not using first and last command

also fixed a typo
This commit is contained in:
Ole Michaelis 2012-04-24 21:46:54 +02:00
parent 5038cc82b2
commit f59054dae4
1 changed files with 2 additions and 2 deletions

View File

@ -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
complete -W "$(echo `vagrant --help | awk '/box/,/up/ {print $1}'`;)" vagrant
complete -W "$(echo `vagrant --help | awk '/^ /{print $1}'`;)" vagrant