From 5038cc82b29bdb57875108bbb7765da0eb04583b Mon Sep 17 00:00:00 2001 From: Ole Michaelis Date: Sat, 14 Apr 2012 16:59:04 +0200 Subject: [PATCH] added completion for bash --- contrib/bash/completion.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 contrib/bash/completion.sh diff --git a/contrib/bash/completion.sh b/contrib/bash/completion.sh new file mode 100644 index 000000000..b480c4d4a --- /dev/null +++ b/contrib/bash/completion.sh @@ -0,0 +1,3 @@ +# Autocompletion for Vagrant just put this line in your ~/.profile or lik 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