Skip to content

Instantly share code, notes, and snippets.

@heavenshell
Created August 24, 2012 14:32
Show Gist options
  • Save heavenshell/3451298 to your computer and use it in GitHub Desktop.
Save heavenshell/3451298 to your computer and use it in GitHub Desktop.
postactivate
#!/bin/zsh
# This hook is run after every virtualenv is activated.
PS1=$RED'[${USER}@${HOST%%.*}:'`basename \$VIRTUAL_ENV`'] %(!.#.$) '$DEFAULT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment