Rendering the 'vagrant box (remove|repackage)' completion code independant of Vagrant implementation details.
This commit is contained in:
parent
921d2f49ef
commit
97ec5de724
@ -43,7 +43,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')
|
||||||
}
|
}
|
||||||
|
|
||||||
__vagrant-box ()
|
__vagrant-box ()
|
||||||
|
Loading…
Reference in New Issue
Block a user