Created
March 1, 2016 04:10
-
-
Save duythinht/138eeb9e9661fe2ce49f to your computer and use it in GitHub Desktop.
.virtualenvs/postactivate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# This hook is sourced after every virtualenv is activated. | |
PS1="$_OLD_VIRTUAL_PS1" | |
_OLD_RPROMPT="$RPROMPT" | |
RPROMPT="%{${fg_bold[white]}%}「 %{${fg[green]}%}`basename \"$VIRTUAL_ENV\"`%{${fg_bold[white]}%} 」%{${reset_color}%}$RPROMPT" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment