Re: OT: integrating git branch output into ksh PS1 shell prompt?

2014-10-28 Thread Jérémie Courrèges-Anglas
Fred Snurd fredsn...@yahoo.com writes: Git fans like to know what branch is current, and bash's implementation of PS1 allows for update each time it is displayed. All of my attempts of adding a call to a ksh function into PS1 appear to be evaluated at the time that PS1 is set, but not upon

OT: integrating git branch output into ksh PS1 shell prompt?

2014-10-27 Thread Fred Snurd
Git fans like to know what branch is current, and bash's implementation of PS1 allows for update each time it is displayed. All of my attempts of adding a call to a ksh function into PS1 appear to be evaluated at the time that PS1 is set, but not upon each new display of the shell prompt.