From c1ada7a938268ce39cc83b71bd6d2da0047979db 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 9af8cb03..d55ae670 100644 --- a/plugins/vagrant/_vagrant +++ b/plugins/vagrant/_vagrant @@ -44,7 +44,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') } __vm_list ()