Ruby on Rails Monday, February 28, 2011

David, that was IT!  Thank you very much.

Works beautifully now.

On Mon, Feb 28, 2011 at 10:54 AM, David J. Hamilton <groups@hjdivad.com> wrote:
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--

"One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies."

- C.A.R. Hoare, in talking about designing software.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment