Created
April 27, 2012 21:18
-
-
Save kennethlove/2513310 to your computer and use it in GitHub Desktop.
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/bash | |
# This hook is run after every virtualenv is activated. | |
PS1="$_OLD_VIRTUAL_PS1" | |
_OLD_RPROMPT="$RPROMPT" | |
# RPROMPT="%{${fg_bold[white]}%}(env: %{${fg[green]}%}`basename \"$VIRTUAL_ENV\"`%{${fg_bold[white]}%})%{${reset_color}%}" | |
RPROMPT='%{$reset_color%}%{$fg[white]%}⮂%{$fg[black]$bg[white]%} `basename "$VIRTUAL_ENV"` %{$fg[black]%}⮂%{$fg[white]$bg[black]%} %t %{$reset_color%}' |
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/bash | |
# This hook is run after every virtualenv is deactivated. | |
RPROMPT="" | |
RPROMPT='%{$reset_color%}%{$fg[white]%}⮂%{$fg[black]$bg_bold[white]%} %t %{$reset_color%}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment