Fix missing redirect for no file

This commit is contained in:
Ben O'Hara 2013-11-09 00:58:24 +10:00
parent 4ea8b2548e
commit 0ad97c79dd
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ __plugin_list ()
__vm_list ()
{
_wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define * "\?''\?\([a-zA-Z0-9\-]\+\)"\?''\?' | awk '{print $NF}' | sed 's/''//g'|sed 's/\"//g' )
_wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define * "\?''\?\([a-zA-Z0-9\-]\+\)"\?''\?' 2>/dev/null | awk '{print $NF}' | sed 's/''//g'|sed 's/\"//g' )
}
__vagrant-box ()