Files
dotfiles/zsh/.virtual_env_config.zsh_debian.example

11 lines
300 B
Plaintext
Raw Permalink Normal View History

export WORKON_HOME=~/python-envs
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv
mkdir -p $WORKON_HOME
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
if [ -n "$VIRTUAL_ENV" ]; then
if [[ -f "$VIRTUAL_ENV/bin/activate" ]]; then
source $VIRTUAL_ENV/bin/activate;
fi
fi