use -> shell
This commit is contained in:
parent
d14529461b
commit
042794b651
@ -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
|
||||||
set-* | global | local | prefix | use )
|
set-* | global | local | shell | prefix )
|
||||||
_rbenv_versions
|
_rbenv_versions
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
|
@ -14,7 +14,7 @@ _rbenv_versions() {
|
|||||||
|
|
||||||
_rbenv() {
|
_rbenv() {
|
||||||
case "$words[2]" in
|
case "$words[2]" in
|
||||||
set-* | global | local | prefix | use ) _rbenv_versions ;;
|
set-* | global | local | shell | prefix ) _rbenv_versions ;;
|
||||||
* ) _rbenv_commands ;;
|
* ) _rbenv_commands ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user