MichaelAquilina / zsh-autoswitch-virtualenv

🐍 ZSH plugin to automatically switch python virtualenvs (including pipenv and poetry) as you move between directories
GNU General Public License v3.0
507 stars 80 forks source link

[feature] Post hook #201

Open aemonge opened 2 months ago

aemonge commented 2 months ago

Can we have hooks to perform after ( and before ) swtiching python venv ?

MichaelAquilina commented 2 months ago

sounds like a good idea. It seems potentially quite easy to do if you would like to give a go at contributing this change yourself :)

Otherwise I'll find some time to do it later on

aemonge commented 1 month ago

Hi @MichaelAquilina , I've tryied here -> https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv/pull/202

I hope it's ok, if not let me know what to fix; I'm happy to contribute :wink: