Add --no-rehash.

This commit is contained in:
Gea-Suan Lin
2018-02-20 04:31:44 +08:00
parent 6a11026424
commit dc5e44b9fb
2 changed files with 4 additions and 4 deletions

View File

@@ -9,12 +9,12 @@ alias update="(cd ~/git; make all)"
export PYENV_ROOT="${HOME}/.pyenv"
if [ -d "${PYENV_ROOT}" ]; then
export PATH="${PYENV_ROOT}/bin:${PYENV_ROOT}/shims:${PATH}"
eval "$(pyenv init -)"
eval "$(pyenv init - --no-rehash)"
fi
#
export N_PREFIX="$HOME"
#
if [ -d "${HOME}/.rbenv" ]; then
export PATH="${HOME}/.rbenv/bin:${PATH}"
eval "$(rbenv init -)"
eval "$(rbenv init - --no-rehash)"
fi

View File

@@ -9,12 +9,12 @@ alias "update=(cd ~/git; make all)"
export PYENV_ROOT="${HOME}/.pyenv"
if [ -d "${PYENV_ROOT}" ]; then
export PATH="${PYENV_ROOT}/bin:${PYENV_ROOT}/shims:${PATH}"
eval "$(pyenv init -)"
eval "$(pyenv init - --no-rehash)"
fi
#
export N_PREFIX="$HOME"
#
if [ -d "${HOME}/.rbenv" ]; then
export PATH="${HOME}/.rbenv/bin:${PATH}"
eval "$(rbenv init -)"
eval "$(rbenv init - --no-rehash)"
fi