Vagrant plugin: Rendering the 'vagrant box (remove|repackage)' completion code independant of Vagrant implementation details. #1302

Merged
merged 1 commit into from Mar 22, 2014
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -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 ()