Maxim Kupfer
2018-12-07 15:19:47 UTC
Hi all,
I'm trying to automate the activation of my python virtual environment so
that whenever I cd into a directory with a virtual environment, it
automatically activates. I can already create a function that checks if the
directory venv is available (and activate if it is), but I can't figure out
how to make this run after I enter a new directory. Hoping I could get some
help from this mailing list.
Thanks.
I'm trying to automate the activation of my python virtual environment so
that whenever I cd into a directory with a virtual environment, it
automatically activates. I can already create a function that checks if the
directory venv is available (and activate if it is), but I can't figure out
how to make this run after I enter a new directory. Hoping I could get some
help from this mailing list.
Thanks.