From 53d55eb08ce95d0cf99e7742ab0acc7a11924164 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Thu, 18 Aug 2011 14:13:20 -0500 Subject: [PATCH] Update completions --- completions/rbenv.bash | 2 +- completions/rbenv.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/completions/rbenv.bash b/completions/rbenv.bash index 3ad2aa2..493a6a7 100644 --- a/completions/rbenv.bash +++ b/completions/rbenv.bash @@ -17,7 +17,7 @@ _rbenv() { local prev="${COMP_WORDS[COMP_CWORD-1]}" case "$prev" in - default | local | prefix ) + set-* | default | local | prefix ) _rbenv_versions ;; * ) diff --git a/completions/rbenv.zsh b/completions/rbenv.zsh index da51e40..efaebe4 100644 --- a/completions/rbenv.zsh +++ b/completions/rbenv.zsh @@ -14,7 +14,7 @@ _rbenv_versions() { _rbenv() { case "$words[2]" in - set-local | set-default | prefix ) _rbenv_versions ;; + set-* | default | local | prefix ) _rbenv_versions ;; * ) _rbenv_commands ;; esac }