Hi Freddie,

Freddie Exall wrote:

> Git bash completion isn't working for me. I assume this is due to the
> lack of the /etc/bash_completion/git script.

Can you say more about what doesn't work?  Some context is in
/usr/share/doc/git/NEWS.Debian.gz:

|  Git's bash completion script is now loaded on the fly when tab
|  completion is attempted for the 'git' or 'gitk' command.  This
|  change involved moving the completion script.  If your ~/.bashrc
|  previously contained
|
|    . /etc/bash_completion.d/git
|
|  then it should be corrected to
|
|    if [ -e /usr/share/bash-completion/completions/git ]; then
|      . /usr/share/bash-completion/completions/git
|    elif [ -e /etc/bash_completion.d/git ]; then
|      . /etc/bash_completion.d/git
|    fi
|
|  or, better,
|
|    . /etc/bash_completion
|
|  See /usr/share/doc/bash-completion/README.Debian for details.

Thanks,
Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to