Skip to content

Instantly share code, notes, and snippets.

Avatar

Jarek Zgoda zgoda

  • Czubajowizna, PL
View GitHub Profile
@insin
insin / bash_prompt.sh
Created Dec 3, 2011 — forked from woods/git_svn_bash_prompt.sh
Set color bash prompt according to active virtualenv, git branch and return status of last command.
View bash_prompt.sh
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
You can’t perform that action at this time.