mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 07:21:11 +00: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]}"
|
||||
|
||||
case "$prev" in
|
||||
set-* | global | local | prefix )
|
||||
set-* | global | local | prefix | use )
|
||||
_rbenv_versions
|
||||
;;
|
||||
* )
|
||||
|
|
|
@ -14,7 +14,7 @@ _rbenv_versions() {
|
|||
|
||||
_rbenv() {
|
||||
case "$words[2]" in
|
||||
set-* | global | local | prefix ) _rbenv_versions ;;
|
||||
set-* | global | local | prefix | use ) _rbenv_versions ;;
|
||||
* ) _rbenv_commands ;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue