From 97ec5de7244c419c4ca484f318e15062910247ba Mon Sep 17 00:00:00 2001 From: cybozuty Date: Mon, 3 Sep 2012 15:31:54 +0900 Subject: [PATCH] Rendering the 'vagrant box (remove|repackage)' completion code independant of Vagrant implementation details. --- plugins/vagrant/_vagrant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vagrant/_vagrant b/plugins/vagrant/_vagrant index 483b29c5..b161ba2b 100644 --- a/plugins/vagrant/_vagrant +++ b/plugins/vagrant/_vagrant @@ -43,7 +43,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 vagrant box list | sed -e 's/ /\\ /g') } __vagrant-box ()