mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Add virtualenvwrapper plugin: useful for python development
This commit is contained in:
parent
1da3f3a8a8
commit
e6ba243999
1 changed files with 5 additions and 0 deletions
5
plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh
Normal file
5
plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||||
|
|
||||||
|
source virtualenvwrapper.sh
|
||||||
|
|
||||||
|
export RPROMPT="%{$fg_bold[white]%}(venv:\${VIRTUAL_ENV:t})%{$reset_color%}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue