mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Make vagrant completion a little more self-aware
(Probably due to an original copy-pasta'ing, `vagrant`'s completion thought it was `gem`'s completion.)
This commit is contained in:
parent
aa15ebad3e
commit
4fc72c5876
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ __vagrant-box ()
|
|||
|
||||
case $state in
|
||||
(command)
|
||||
_describe -t commands "gem subcommand" _box_arguments
|
||||
_describe -t commands "vagrant subcommand" _box_arguments
|
||||
return
|
||||
;;
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ _arguments -C \
|
|||
|
||||
case $state in
|
||||
(command)
|
||||
_describe -t commands "gem subcommand" _1st_arguments
|
||||
_describe -t commands "vagrant subcommand" _1st_arguments
|
||||
return
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue