1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

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