Open FranzFelberer opened 4 years ago
I think this is the case because the code uses the -n
flag in the if statements, which checks if the length of the string is non zero. This is the case for both ZSH_POETRY_AUTO_ACTIVATE=1
and ZSH_POETRY_AUTO_ACTIVATE=0
. The expected behaviour is when these if statements are replaced with [[ $ZSH_POETRY_AUTO_DEACTIVATE -eq 1]]
and equivalent for the ZSH_POETRY_AUTO_ACTIVATE
.
It seems that changing the options settings is ignored.
From my .zshrc
The venv gets still automatically activated and deactivate.