.bashrc: Enable Pyenv support
Gotta clone the Pyenv repo to ~/.pyenv, see: https://github.com/yyuu/pyenv#basic-github-checkout Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
00ee82685a
commit
baaf94e155
9
.bashrc
9
.bashrc
@ -41,6 +41,15 @@ if test $(which npm); then
|
|||||||
PATH=$PATH:node_modules/.bin
|
PATH=$PATH:node_modules/.bin
|
||||||
fi
|
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"
|
||||||
|
|
||||||
|
eval "$(pyenv init -)"
|
||||||
|
fi
|
||||||
|
|
||||||
# If a private bin directory exists, add it to PATH
|
# If a private bin directory exists, add it to PATH
|
||||||
[[ -d ~/bin ]] && PATH="$PATH:~/bin"
|
[[ -d ~/bin ]] && PATH="$PATH:~/bin"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user