Created
August 8, 2010 09:12
-
-
Save narfdotpl/513810 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 run after every virtualenv is activated. | |
# prefix prompt with... umm... pink, I think? name of virtualenv | |
PS1=$'%{\e[0;35m%}$(basename $VIRTUAL_ENV)%{\e[0m%} '$_OLD_VIRTUAL_PS1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment