diff options
Diffstat (limited to 'pyenv')
-rw-r--r-- | pyenv/shrc.d/pyenv.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pyenv/shrc.d/pyenv.sh b/pyenv/shrc.d/pyenv.sh index 1c90f8f2..0a946164 100644 --- a/pyenv/shrc.d/pyenv.sh +++ b/pyenv/shrc.d/pyenv.sh @@ -6,13 +6,16 @@ pyenv() { shift eval "$(pyenv sh-rehash "$@")" ;; + sh-rehash) + command pyenv "$@" + ;; shell) shift eval "$(pyenv sh-shell "$@")" ;; *) command pyenv "$@" + pyenv rehash ;; esac } -pyenv rehash |