mirror of https://github.com/akelge/zsh
Changed definition of WORKON_HOME and PROJECT_HOME
This commit is contained in:
parent
1915a3edf9
commit
b551054d4d
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue