mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02: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
|
case $state in
|
||||||
(command)
|
(command)
|
||||||
_describe -t commands "gem subcommand" _box_arguments
|
_describe -t commands "vagrant subcommand" _box_arguments
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
@ -108,7 +108,7 @@ _arguments -C \
|
||||||
|
|
||||||
case $state in
|
case $state in
|
||||||
(command)
|
(command)
|
||||||
_describe -t commands "gem subcommand" _1st_arguments
|
_describe -t commands "vagrant subcommand" _1st_arguments
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue