Skip to content

Instantly share code, notes, and snippets.

View skurovec's full-sized avatar

Jan Skurovec skurovec

View GitHub Profile
@skurovec
skurovec / keybase.md
Last active August 29, 2015 14:19
Keybase proof

Keybase proof

I hereby claim:

  • I am skurovec on github.
  • I am skurovec (https://keybase.io/skurovec) on keybase.
  • I have a public key whose fingerprint is 76C3 77F0 DAEB 6841 2D23 DE9B 7638 B2BC B335 1781

To claim this, I am signing this object:

# used by Git (commit messages, rebase, ...)
export EDITOR=vim
# GIT bash current branch
# by HABR (modified by Dundee)
export PSORIG="$PS1"
function GITBRANCH() {
BRANCH="$(git branch 2>/dev/null | grep '*' | cut -d" " -f2-)"
if [ -n "$BRANCH" ] ; then
export PS1=$PSORIG$(echo -en "\[\033[01;33m\]$BRANCH > \[\033[00m\]")