Tarrasch / zsh-autoenv

Autoenv for zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using zsh `..` instead of `cd ..` does not trigger `.autoenv-leave.zsh`

KastanDay opened this issue · comments

When exiting a directory containing .autoenv-leave.zsh I often use .. instead of cd .. and this does not trigger .autoenv-leave.zsh on first use. Would be a handy improvement!

Thanks for this great work.

Here are my relevant files:

───────┬────────────────────────────────────────────────────────────────────────
       │ File: .autoenv.zsh
───────┼────────────────────────────────────────────────────────────────────────
   1   │ echo ACTIVATING openai; conda activate openai
───────┴────────────────────────────────────────────────────────────────────────
───────┬────────────────────────────────────────────────────────────────────────
       │ File: .autoenv_leave.zsh
───────┼────────────────────────────────────────────────────────────────────────
   1   │ echo DEACTIVATING openai; conda deactivate
───────┴────────────────────────────────────────────────────────────────────────