mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Update completions
This commit is contained in:
parent
506bc3634f
commit
53d55eb08c
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue