This commit is contained in:
Max Kovgan 2026-03-05 20:21:36 -05:00 committed by GitHub
commit 434064bc4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,4 +90,9 @@ if [[ ! $DISABLE_VENV_CD -eq 1 ]]; then
autoload -U add-zsh-hook
add-zsh-hook chpwd workon_cwd
[[ $PWD != ~ ]] && workon_cwd
else
if [[ "${chpwd_functions[(Ie)workon_cwd]}" -ne 0 ]]; then
autoload -U add-zsh-hook
add-zsh-hook -d chpwd workon_cwd
fi
fi