Skip to content

Instantly share code, notes, and snippets.

@narfdotpl
Created August 8, 2010 09:12
Show Gist options
  • Save narfdotpl/513810 to your computer and use it in GitHub Desktop.
Save narfdotpl/513810 to your computer and use it in GitHub Desktop.
~/.virtualenvs/postactivate
#!/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