You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that changing the options settings is ignored.
From my .zshrc
...
export ZSH_POETRY_AUTO_DEACTIVATE=0
export ZSH_POETRY_AUTO_ACTIVATE=0
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Some plugins have to have a certain order (historu-substring-search after zsh-syntax-highlighting)
plugins=(
autoupdate
git
pyenv
poetry
vi-mode
zsh-autosuggestions
zsh-completions
zsh-nvm
zsh-poetry
zsh-syntax-highlighting
history-substring-search
)
...
The venv gets still automatically activated and deactivate.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: