Commit 97ec5de7 authored by cybozuty's avatar cybozuty
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 921d2f49
...@@ -43,7 +43,7 @@ __task_list () ...@@ -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 ()
......
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