Re: git-PS1 bash prompt setting
- From
Nicolas Vilz <niv@iaglans.de>
- Date
- Nov 26, 2006, 15:05 UTC
- Message-ID
- <20061126150523.GB18828@hermes.lan.home.vilz.de>
- In-Reply-To
- <20061126094212.fde8cce7.seanlkml@sympatico.ca>
On Sun, Nov 26, 2006 at 09:42:12AM -0500, Sean wrote:
Show 8 quoted lines
> On Sun, 26 Nov 2006 15:27:07 +0100 (CET) > Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > 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.