Skip to content

Instantly share code, notes, and snippets.

View juanjoseijas's full-sized avatar
💭
I may be slow to respond.

Juanjo Seijas juanjoseijas

💭
I may be slow to respond.
View GitHub Profile
@juanjoseijas
juanjoseijas / .bash_profile
Created December 9, 2012 18:09
Bash profile showing Ruby version and git branch
export PS1='\e[0:35m⌘\e[m \e[0;33m $(ruby -e "print RUBY_VERSION")\e[m \e[0:36m\w/\e[m \e[0:33m`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\e[m'