mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 23:08:00 +00:00
[Fix #335] Prevent rbenv from hashing gems at startup
This commit is contained in:
parent
795495b864
commit
29647947fe
@ -17,11 +17,11 @@ if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
|
|||||||
# Load manually installed rbenv into the shell session.
|
# Load manually installed rbenv into the shell session.
|
||||||
elif [[ -s "$HOME/.rbenv/bin/rbenv" ]]; then
|
elif [[ -s "$HOME/.rbenv/bin/rbenv" ]]; then
|
||||||
path=("$HOME/.rbenv/bin" $path)
|
path=("$HOME/.rbenv/bin" $path)
|
||||||
eval "$(rbenv init - zsh)"
|
eval "$(rbenv init - --no-rehash zsh)"
|
||||||
|
|
||||||
# Load package manager installed rbenv into the shell session.
|
# Load package manager installed rbenv into the shell session.
|
||||||
elif (( $+commands[rbenv] )); then
|
elif (( $+commands[rbenv] )); then
|
||||||
eval "$(rbenv init - zsh)"
|
eval "$(rbenv init - --no-rehash zsh)"
|
||||||
|
|
||||||
# Install local gems according to operating system conventions.
|
# Install local gems according to operating system conventions.
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user