mirror of
https://github.com/akelge/zsh
synced 2025-08-14 06:18:19 +00:00
Changed definition of WORKON_HOME and PROJECT_HOME
This commit is contained in:
@ -1,7 +1,12 @@
|
|||||||
function venv {
|
function venv {
|
||||||
|
|
||||||
export WORKON_HOME=$HOME/Src/virtualenvs
|
# export WORKON_HOME=$HOME/Src/virtualenvs
|
||||||
export PROJECT_HOME=$HOME/Src/projects
|
# export PROJECT_HOME=$HOME/Src/projects
|
||||||
|
if [ -z $WORKON_HOME ] || [ -z $PROJECT_HOME ]; then
|
||||||
|
echo "Please, set WORKON_HOME and PROJECT_HOME first."
|
||||||
|
echo "Better place to set them is 99-local.zsh"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
VIRTUALENV_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
|
VIRTUALENV_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user