Thread (1 message) 1 message, 1 author, 2016-08-11

Re: git-PS1 bash prompt setting

From: Nicolas Vilz <hidden>
Date: 2016-08-11 19:59:58

On Sun, Nov 26, 2006 at 09:42:12AM -0500, Sean wrote:
On Sun, 26 Nov 2006 15:27:07 +0100 (CET)
Johannes Schindelin [off-list ref] wrote:
quoted
But there really is no good place to put it: most commands need a git 
repository, and those which do not, are inappropriate to put an option 
"--show-ps1" into. Except maybe repo-config. Thoughts?
What about just making it an option to the git wrapper?
I glued that in my system bashrc with the extension, that it shows to me
user.email out of repo-config, which is also very handy. So I am always
reminded to set my user.credentials in .git/config and i always know which 
role i play in the repository i am working at.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help