mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Version autocomplete use
command
This commit is contained in:
parent
c928ba7a21
commit
d14529461b
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
|
||||||
set-* | global | local | prefix )
|
set-* | global | local | prefix | use )
|
||||||
_rbenv_versions
|
_rbenv_versions
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
|
|
|
@ -14,7 +14,7 @@ _rbenv_versions() {
|
||||||
|
|
||||||
_rbenv() {
|
_rbenv() {
|
||||||
case "$words[2]" in
|
case "$words[2]" in
|
||||||
set-* | global | local | prefix ) _rbenv_versions ;;
|
set-* | global | local | prefix | use ) _rbenv_versions ;;
|
||||||
* ) _rbenv_commands ;;
|
* ) _rbenv_commands ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue