Utility command to activate local Python venv located at the same folder of the code project.
Clone this repository into the custom/plugins
folder of your oh-my-zsh installation:
git clone https://github.com/humrochagf/activate.git ~/.oh-my-zsh/custom/plugins/activate
Then refresh the shell with:
omz reload
This plugin adds the command activate
that will look for common venv folders in the root of your code project and activate it without you having to search manually for it.
cd my_code_project
activate