Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am eitheror on github.
  • I am eitheror (https://keybase.io/eitheror) on keybase.
  • I have a public key ASBeenvMYU2f1ajQSPii_wTwXkHlktilsENmPCgjjZ9w6go

To claim this, I am signing this object:

@eitheror
eitheror / git_bash_prompt.sh
Created January 6, 2018 01:04
Set color bash prompt according to git branch and virtualenv activation.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the name of the current virtualenv (if activated)
#
# https://gist.github.com/hugorodgerbrown/4143150/
#