Files
dotfiles/zsh/.virtual_env_config.zsh_debian.example
T

11 lines
300 B
Plaintext
Raw Normal View History

2017-04-12 10:07:44 +02:00
export WORKON_HOME=~/python-envs
2024-12-20 12:47:54 +01:00
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv
2017-04-12 10:07:44 +02:00
mkdir -p $WORKON_HOME
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
if [ -n "$VIRTUAL_ENV" ]; then
2024-12-20 12:47:54 +01:00
if [[ -f "$VIRTUAL_ENV/bin/activate" ]]; then
source $VIRTUAL_ENV/bin/activate;
fi
2017-04-12 10:07:44 +02:00
fi