From f59054dae4d6aa12aac7a94bfde62f1c64da80f6 Mon Sep 17 00:00:00 2001 From: Ole Michaelis Date: Tue, 24 Apr 2012 21:46:54 +0200 Subject: [PATCH] Make it more future proof by not using first and last command also fixed a typo --- contrib/bash/completion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/bash/completion.sh b/contrib/bash/completion.sh index b480c4d4a..40d12d3fb 100644 --- a/contrib/bash/completion.sh +++ b/contrib/bash/completion.sh @@ -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 \ No newline at end of file +complete -W "$(echo `vagrant --help | awk '/^ /{print $1}'`;)" vagrant