From 090a9b0044f3cdc7179aba75661f41eafdbd4620 Mon Sep 17 00:00:00 2001 From: Matthieu Codron Date: Thu, 22 May 2014 09:49:30 +0200 Subject: [PATCH] [Vagrant] update box list completion relocate `$HOME/.vagrant` to `$HOME/.vagrant.d` and use `$VAGRANT_HOME` if defined --- src/_vagrant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_vagrant b/src/_vagrant index f36fee6..b1be6ce 100644 --- a/src/_vagrant +++ b/src/_vagrant @@ -66,7 +66,7 @@ __task_list () __box_list () { - _wanted application expl 'command' compadd $(command ls -1 $HOME/.vagrant/boxes 2>/dev/null| sed -e 's/ /\\ /g') + _wanted application expl 'command' compadd $(command ls -1 ${VAGRANT_HOME:-$HOME/.vagrant.d}/boxes 2>/dev/null| sed -e 's/ /\\ /g') } __plugin_list ()