Commit c1ada7a9 authored by cybozuty's avatar cybozuty Committed by Phil Eichinger
Browse files

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

Rendering the 'vagrant box (remove|repackage)' completion code independant of Vagrant implementation details.
parent 8194aa95
......@@ -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 ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment