Plugin which extends regular oh-my-zsh! venv plugin functionality
You're required to copy uvenv.plugin.zsh into your regular oh-my-zsh! plugin directory. Similar to example below
mkdir -p $ZSH/plugins/uvenv
cp uvenv.plugin.zsh $ZSH/plugins/uvenv
Enable plugin in your .zshrc file extending your regular list, for example
In case of any troubles please reffer to oh-my-zsh! documentation.
To have more benefit from using this plugin make sure you add virtualenv_prompt_info to the theme youre using, for example:
in regular $ZSH/themes/robbyrussell.zsh-theme file I've changed the following line
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
into
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(virtualenv_prompt_info) $(git_prompt_info)'
When you're done, the terminal would inform you about your virtualenv status, and give you some more commands.
Besides new commands, the prompt will change as follow
➜ simplist venv:[coffee|simplist]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4