Skip to content

Instantly share code, notes, and snippets.

@realsby
Created April 24, 2018 08:33
Show Gist options
  • Save realsby/e36c4be769bf046b312bafbaf52e9156 to your computer and use it in GitHub Desktop.
Save realsby/e36c4be769bf046b312bafbaf52e9156 to your computer and use it in GitHub Desktop.
pyenv support for zsh
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then;
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
export PYENV_VIRTUALENVWRAPPER_PREFER_PYVENV="true"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment