.zshrc: Only export variables at the end
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
5d13f77f10
commit
aaf0f15669
5
.zshrc
5
.zshrc
@ -68,14 +68,14 @@ export ANSIBLE_INVENTORY=hosts
|
|||||||
# node modules' bin to PATH
|
# node modules' bin to PATH
|
||||||
command -v npm >/dev/null 2>&1
|
command -v npm >/dev/null 2>&1
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
export PATH=$PATH:node_modules/.bin
|
PATH=$PATH:node_modules/.bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable pyenv
|
# Enable pyenv
|
||||||
# See: https://github.com/yyuu/pyenv#basic-github-checkout
|
# See: https://github.com/yyuu/pyenv#basic-github-checkout
|
||||||
if [[ -d ~/.pyenv ]]; then
|
if [[ -d ~/.pyenv ]]; then
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
# optionally enable pyenv-virtualenv
|
# optionally enable pyenv-virtualenv
|
||||||
@ -89,3 +89,4 @@ fi
|
|||||||
[[ -d ~/bin ]] && PATH="$PATH:~/bin"
|
[[ -d ~/bin ]] && PATH="$PATH:~/bin"
|
||||||
|
|
||||||
export PATH
|
export PATH
|
||||||
|
export MANPATH
|
||||||
|
Loading…
Reference in New Issue
Block a user