[MacPorts] #36334: git-core @1.7.12 +bash_completion - __git_ps1: command not found
MacPorts
noreply at macports.org
Wed Sep 26 13:37:56 PDT 2012
#36334: git-core @1.7.12 +bash_completion - __git_ps1: command not found
-------------------------+-------------------------
Reporter: tshubitz@… | Owner: ciserlohn@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: fixed | Keywords:
Port: git-core |
-------------------------+-------------------------
Changes (by ciserlohn@…):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [ticket:36334 tshubitz@…]:
> Changing line 169 in the Portfile should correct the issue.
>
> FROM
>
> ${worksrcpath}/contrib/completion/git-completion.bash
>
> TO
>
> ${worksrcpath}/contrib/completion/git-prompt.sh
This won't work. The completion functions are still defined in "git-
completion.bash". The separate "git-prompt.sh" is intended to make the
prompting part available without using the bash completion part.
As of version 1.7.12.1_1 (r98165) "git-prompt.sh" will be installed in
/opt/local/share/git-core/. You will have to add something like this to
your ~/.bashrc or ~/.profile to use it:
{{{
if [ -f /opt/local/share/git-core/git-prompt.sh ]; then
. /opt/local/share/git-core/git-prompt.sh
fi
}}}
--
Ticket URL: <https://trac.macports.org/ticket/36334#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list