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
parent 921d2f49ef
commit 97ec5de724

View File

@ -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 ()