Rendering the 'vagrant box (remove|repackage)' completion code independant of Vagrant implementation details.

This commit is contained in:
cybozuty 2012-09-03 15:31:54 +09:00 committed by Phil Eichinger
parent 8194aa9554
commit c1ada7a938

View file

@ -44,7 +44,7 @@ __task_list ()
__box_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 () __vm_list ()