[MacPorts] #37462: git-core: Actual bash_completion dir implies in bug on hub and git-flow bash completion
MacPorts
noreply at macports.org
Fri Jan 18 09:31:21 PST 2013
#37462: git-core: Actual bash_completion dir implies in bug on hub and git-flow
bash completion
------------------------------+-------------------------
Reporter: robsonpeixoto@… | Owner: ciserlohn@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: worksforme | Keywords: haspatch
Port: git-core |
------------------------------+-------------------------
Changes (by ciserlohn@…):
* status: new => closed
* resolution: => worksforme
Comment:
@robsonpeixoto:[[BR]]
Not sure what you mean, but both {{{git-prompt.sh}}} and
[https://github.com/bobthecow/git-flow-completion git-flow completion]
work fine for me.
You find the {{{git-prompt.sh}}} here: {{{${prefix}/local/share/git-core
/git-prompt.sh}}} and not in {{{${prefix}/share/bash-
completion/completions/}}}
Make sure you have something like this in your {{{.profile}}} or
{{{.bashrc}}}
{{{
if [ -f /opt/local/share/git-core/git-prompt.sh ]; then
. /opt/local/share/git-core/git-prompt.sh
fi
}}}
Add something like this to your {{{.profile}}} or {{{.bashrc}}}
{{{
if [ -f ~/.git-flow-completion.bash ]; then
. ~/.git-flow-completion.bash
fi
}}}
and you can use {{{git flow <TAB>}}} to see a list of valid git-flow
commands.
--
Ticket URL: <https://trac.macports.org/ticket/37462#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list