Roland Eggner wrote:

> 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, I'll include it.  Please watch out for any wrongly detected
files, it's quite complicated now.

> 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.

-- 
Q: Is selling software the same as selling hardware?
A: No, good hardware is sold new, good software has already been used by many.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui