Rendering the 'vagrant box (remove|repackage)' completion code independant of Vagrant implementation details.
This commit is contained in:
parent
8194aa9554
commit
c1ada7a938
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user