On Aug 14, 11:13 am, Matt Wynne <
m...@mattwynne.net> wrote:
>
> You can follow one of these tutorials and have the current branch
> shown in your prompt, which is really good for your mental health:
>
>
http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-n...
>
It comes down to a matter of taste and flexibility. I specifically
wished for a method to invoke a script so that I could dynamically
customise my development environment (in the generic, non-Rails sense
of the word) depending upon where I was in my development trees. I
all I wanted was to continually show the active git branch then
certainly putting that information into the prompt is an excellent way
to accomplish this. In fact, that was my first remedy until presented
with the function above.
Regards,