diff --git a/dotfiles/.bashrc.ftw b/dotfiles/.bashrc.ftw index 3ebc852..fa78c9a 100644 --- a/dotfiles/.bashrc.ftw +++ b/dotfiles/.bashrc.ftw @@ -417,6 +417,18 @@ then eval "$(rbenv init -)" fi +################################################################################ +# pyenv +# https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv + +export PYENV_ROOT="$HOME/.pyenv" +command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + +# Use pyenv pip +alias pip="python3 -m pip" +alias pip3="python3 -m pip" + ################################################################################ # Installation Cheatsheets alias install-nvm="curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash"