Update completions
This commit is contained in:
parent
506bc3634f
commit
53d55eb08c
@ -17,7 +17,7 @@ _rbenv() {
|
|||||||
local prev="${COMP_WORDS[COMP_CWORD-1]}"
|
local prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
default | local | prefix )
|
set-* | default | local | prefix )
|
||||||
_rbenv_versions
|
_rbenv_versions
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
|
@ -14,7 +14,7 @@ _rbenv_versions() {
|
|||||||
|
|
||||||
_rbenv() {
|
_rbenv() {
|
||||||
case "$words[2]" in
|
case "$words[2]" in
|
||||||
set-local | set-default | prefix ) _rbenv_versions ;;
|
set-* | default | local | prefix ) _rbenv_versions ;;
|
||||||
* ) _rbenv_commands ;;
|
* ) _rbenv_commands ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user