Hi James
Hi Bram
On 2015-08-02 Sunday at 22:32 +0200 Bram Moolenaar wrote:
> James McCoy wrote:
> > Attached patch adds support for recognizing various locations of bash
> > completion files. The commonly supported locations are
> > ~/.bash_completion, $XDG_CONFIG_HOME/bash_completion,
> > /etc/bash_completion, and /etc/bash_completion.d/$command.
> Thanks!
On Gentoo I have
/etc/bash_completion.d/*
/etc/profile.d/bash-completion.sh
/usr/share/bash-completion/*
I enhanced the patch to cover these paths additionally to those mentioned by
James, and to cover thinkable variations. Please find it attached.
Thanks to James for taking the initiative. Some day I can remove regarding
code from my /etc/vim/vimrc file … :)
Regarding pattern “*.ebuild”:
I added pattern “*.eclass”. It regards to files providing shell code common
to multiple Gentoo ebuilds with the goal to avoid duplication of code.
--
Best regards,
Roland Eggner