dot_files/dot_oh-my-zsh/custom/tools/pyenv.zsh
Viktor Barzin 47120112ad Refactor dotfiles - 2026-01-18
Changes:
- Refactored .zshrc into modular oh-my-zsh/custom/ files
- Created aliases.zsh, functions.zsh, path.zsh, keybindings.zsh
- Added bira-time.zsh-theme (bira with timestamp)
- Added tools/*.zsh for pyenv, nvm, kubectl
- Updated .tmux.conf.local with cross-platform support
- Updated gpakosz/.tmux framework
- Cleaned up .zshenv
2026-01-18 14:23:48 +00:00

23 lines
640 B
Bash

# Pyenv configuration
# Auto-loaded by oh-my-zsh from $ZSH_CUSTOM/tools/
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv >/dev/null 2>&1; then
eval "$(pyenv init - zsh)"
fi
# Virtualenvwrapper
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export VIRTUALENV_PYTHON=python3
export WORKON_HOME=$HOME/.virtualenvs
if [[ -f /usr/local/bin/virtualenvwrapper.sh ]]; then
source /usr/local/bin/virtualenvwrapper.sh
elif [[ -f $HOME/.virtualenvwrapper.sh ]]; then
source $HOME/.virtualenvwrapper.sh
fi
# Python debugging
export PYTHONBREAKPOINT=ipdb.set_trace