git_ps1 not found any more

Adam Williamson awilliam at redhat.com
Thu Nov 8 00:36:48 UTC 2012


On Thu, 2012-11-08 at 11:23 +1100, Ankur Sinha wrote:
> Hi folks,
> 
> After f18 updates today and last night, my git_ps1 variable sort of
> disappeared. I had to copy
> the /usr/share/git-core/contrib/completions/git-prompt.sh to my user
> directory and source it in my .bashrc. However, I'm pretty sure I didn't
> have to do this before (I've been using the same git prompt for quite a
> while now). Would any one know what changed please? The other __git_*
> commands appeared to be available, but the __git_ps1 etc weren't in the
> list.
> 
> This system is a yum upgrade from fedora 17. The git prompt was working
> before the recent updates.

It moved to a different file. You want to
source /etc/profile.d/git-prompt.sh now.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net



More information about the test mailing list