[MacPorts] #37117: git-core 1.8.0 bash completions missing git-prompt.sh code

MacPorts noreply at macports.org
Sat Nov 24 06:03:44 PST 2012


#37117: git-core 1.8.0 bash completions missing git-prompt.sh code
-----------------------+-------------------------
  Reporter:  jeff@…    |      Owner:  ciserlohn@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.1.2
Resolution:  invalid   |   Keywords:
      Port:  git-core  |
-----------------------+-------------------------
Changes (by ciserlohn@…):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 The git-core port always installs git-prompt.sh. It located in
 ${prefix}/share/git-core/ (use 'port contents git-core' to find it on your
 system).

 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/37117#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list