Stop Manually Activating Python Virtual Environments!

Published: 07 June 2024
on channel: Wes Higbee
237
6

I hate activating venvs, so I wrote some code to automatically detect and activate venvs via the current directory in fish (and zsh) shell. And then deactivate when I leave the context of a given venv. It triggers on a change in pwd so I can keep using all my favorite tools to CD around the filesystem (i.e. z) and it just works!

https://github.com/g0t4/dotfiles/blob...

https://github.com/g0t4/dotfiles/blob...


On this page of the site you can watch the video online Stop Manually Activating Python Virtual Environments! with a duration of hours minute second in good quality, which was uploaded by the user Wes Higbee 07 June 2024, share the link with friends and acquaintances, this video has already been watched 237 times on youtube and it was liked by 6 viewers. Enjoy your viewing!