From aaf0f156694f7bf9734ec55c4ce51426a0c7f268 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 5 May 2015 11:40:42 +0300 Subject: [PATCH] .zshrc: Only export variables at the end Signed-off-by: Alan Orth --- .zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 32a76d7..9e750ce 100644 --- a/.zshrc +++ b/.zshrc @@ -68,14 +68,14 @@ export ANSIBLE_INVENTORY=hosts # node modules' bin to PATH command -v npm >/dev/null 2>&1 if [[ $? -eq 0 ]]; then - export PATH=$PATH:node_modules/.bin + PATH=$PATH:node_modules/.bin fi # Enable pyenv # See: https://github.com/yyuu/pyenv#basic-github-checkout if [[ -d ~/.pyenv ]]; then export PYENV_ROOT="$HOME/.pyenv" - export PATH="$PYENV_ROOT/bin:$PATH" + PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" # optionally enable pyenv-virtualenv @@ -89,3 +89,4 @@ fi [[ -d ~/bin ]] && PATH="$PATH:~/bin" export PATH +export MANPATH