Skip to content

Instantly share code, notes, and snippets.

View rombald's full-sized avatar
🚀

Frank Muenchmeyer rombald

🚀
View GitHub Profile

Keybase proof

I hereby claim:

  • I am rombald on github.
  • I am rombald (https://keybase.io/rombald) on keybase.
  • I have a public key ASA1d5qmZuJuKiNrbzUqKvcydLVHHgNikpDMq9H-4ZOkUwo

To claim this, I am signing this object:

@rombald
rombald / bash_alias.sh
Last active August 29, 2015 13:57
Bash stuff
# special view for git changes etc.
BLACK="\[\033[0;38m\]"
RED="\[\033[0;31m\]"
RED_BOLD="\[\033[01;31m\]"
BLUE="\[\033[01;34m\]"
GREEN="\[\033[0;32m\]"
YELLOW="\[\033[0;33m\]"
WHITE="\[\033[37m\]"
export PS1="$GREEN \w $RED\`ruby -e \"print (%x{git branch 2> /dev/null}.split(%r{\n}).grep(/^\*/ ).first || '').gsub(/^\* (.+)$/,'(\1) ')\"\`$YELLOW|\`ruby -e \"print RUBY_VERSION\"\`| $WHITE$\[\033[00m\] "