Excerpts from dana tassler's message of Sun Feb 27 17:37:20 -0800 2011: > I'm looking to display my current git branch in the bash prompt. > > I can come close by following these instructions, but it does not > display the branch. > http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bash-prompt-with-git-info/ > > Would any of you happen to know how to do this?
The above tries to run git-symbolic-ref. On Ubuntu you'd want git symbolic-ref (i.e. without the first -). -- med vänlig hälsning David J. Hamilton -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

