The story so far ...

life, work and photography

branch aware PS1

For git-branch aware PS1 in your terminal add the following to .bashrc

function git_branch() {

        git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'

}

PS1="\e[0;31m@\H: \e[1;37m\w\e[01;32m\$(git_branch)\e[0;0m\]:\n$"

Sample PS1

Orbiting sun at a distance of roughly ninety-eight million miles is an utterly insignificant little blue-green planet whose ape-descended life forms are so amazingly primitive that they still think throwing birds at pigs is a neat  idea. 

All things must pass - wonderfully written song  from George Harrison, one of my favorite beatle 

If you focus on results, you will never change. If you focus on change, you will get results.

Henley Sequence from Social Network.  Gripping music (Song: “In The Hall Of The Mountain King”) . Wonderful Tilt shift photography, which makes everything look miniature - what this race is in the scheme of things that are going on in the rest of the movie. 

Can’t get tired of watching this! 

Comfort

I love that in a day when nothing is sure and when I say nothing, I mean nothing. You can go to gym and absolutely know that if you run on thread mill for one hour, 400 Calories will be burned. That’s such a comfort.

I just have to do this consistent and long enough to enjoy long term benefits.