Version autocomplete use command

This commit is contained in:
Joshua Peek 2011-09-06 22:07:21 -05:00
parent c928ba7a21
commit d14529461b
2 changed files with 2 additions and 2 deletions

View file

@ -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
;;
* )

View file

@ -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
}