From dc5e44b9fbf764e70b44505fc4c3f87870c92d80 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Tue, 20 Feb 2018 04:31:44 +0800 Subject: [PATCH] Add --no-rehash. --- .bashrc.local | 4 ++-- .zshrc.local | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.bashrc.local b/.bashrc.local index cca27d0..06e3a6c 100644 --- a/.bashrc.local +++ b/.bashrc.local @@ -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 diff --git a/.zshrc.local b/.zshrc.local index 6b6437d..43a260f 100644 --- a/.zshrc.local +++ b/.zshrc.local @@ -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