This commit is contained in:
Will Weaver 2013-10-13 12:22:33 -07:00
commit 2582a970c0
2 changed files with 2 additions and 4 deletions

4
.gitignore vendored
View file

@ -1,8 +1,6 @@
locals.zsh locals.zsh
log/.zsh_history log/.zsh_history
projects.zsh projects.zsh
custom/example custom/
custom/example.zsh
*.swp *.swp
!custom/example.zshcache
cache/ cache/

View file

@ -49,7 +49,7 @@ __box_list ()
__vm_list () __vm_list ()
{ {
_wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define *:\([a-zA-Z0-9]\+\)' 2>/dev/null | cut -d: -f2) _wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define *[:"]\([a-zA-Z0-9_-]\+\)' 2>/dev/null | awk '{print substr($2, 2)}')
} }
__vagrant-box () __vagrant-box ()