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

Option to hide suggestion to run `mkvenv` #167

Open seancmonahan opened 2 years ago

seancmonahan commented 2 years ago

Set the environment variable AUTOSWITCH_HIDE_MKVENV_SUGGESTION to silence the message Python virtualenv project detected. Run mkvenv to setup autoswitching when cding to a Python project without an initialized virtual environment.

seancmonahan commented 2 years ago

I can squash my 5 commits and resubmit as a cleaner PR if needed.

seancmonahan commented 2 years ago

Sure, I will write some test cases for it! Might be a couple days until I am able to get them up. I'll look at existing ZUnit tests to get a sense of what to write.

MichaelAquilina commented 2 years ago

Hello @seancmonahan :) would you like me to take over this PR or would you still like to try finish it off yourself?