Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fixed]git-prompt.sh no longer provided?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
zixnub
n00b
n00b


Joined: 27 Dec 2007
Posts: 66
Location: Brasschaat, Belgium

PostPosted: Wed Apr 09, 2014 1:23 pm    Post subject: [fixed]git-prompt.sh no longer provided? Reply with quote

I did a fresh install and seems that I can not locate git-prompt.sh? I have git installed and bash-completion and there is a file called: /usr/share/bash-completion/git but nothing about git-prompt.sh. Git doesnt seem to have any specific use flag for it either.

What am I doing wrong?
_________________
http://trinity.netcat.be
http://code.google.com/p/ewm


Last edited by zixnub on Thu Apr 10, 2014 10:58 am; edited 1 time in total
Back to top
View user's profile Send private message
ttysteale
n00b
n00b


Joined: 25 Aug 2013
Posts: 5

PostPosted: Wed Apr 09, 2014 4:44 pm    Post subject: Reply with quote

I imagine it's changed in newer versions of git, but git does provide git-prompt but not git-prompt.sh. I imagine they renamed it upstream.

dev-vcs/git-1.8.3.2-r1 (/usr/share/bash-completion/git-prompt)

What version of git do you have installed at the minute?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8594

PostPosted: Thu Apr 10, 2014 2:18 am    Post subject: Reply with quote

This is dev-vcs/git: 'git-prompt' is not really a bash-completion file. Mgorny decided that since this file is not a true bash-completion, it should not be installed at all. Instead, users should directly install a hopefully compatible version of the script in their private area.
Back to top
View user's profile Send private message
zixnub
n00b
n00b


Joined: 27 Dec 2007
Posts: 66
Location: Brasschaat, Belgium

PostPosted: Thu Apr 10, 2014 10:58 am    Post subject: Reply with quote

that explains it I guess
_________________
http://trinity.netcat.be
http://code.google.com/p/ewm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum