Re: [Bash-completion-devel] user-defined dynamic-completions directory(s)

2015-02-12 Thread Raphaël
Another try on this. And a patch against bash-completion 2.1-4 as in Jessie. If the concept seems acceptable I could do that on git master + the documentation bits. About XDG_DATA_HOME, I'm still not comfortable about it being the only choice (even if symlinks are possible). This comes to the fa

Re: [Bash-completion-devel] user-defined dynamic-completions directory(s)

2015-02-15 Thread Ville Skyttä
On Fri, Feb 13, 2015 at 6:04 AM, Raphaël wrote: > Another try on this. The patch should be more careful about adding additional completion dirs, for example if BASH_COMPLETION_USER_DIR and XDG_DATA_HOME are not set, they shouldn't be used as is. How about the attached patch (indentation changes

Re: [Bash-completion-devel] user-defined dynamic-completions directory(s)

2015-02-15 Thread Raphaël
On Sun, Feb 15, 2015 at 12:11:33PM +0200, Ville Skyttä wrote: > How about the attached patch > I.e. use BASH_COMPLETION_USER_DIR if set, otherwise XDG_DATA_HOME and > its fallback. seems fine to me! thanks ___ Bash-completion-devel mailing list Bash-com

Re: [Bash-completion-devel] user-defined dynamic-completions directory(s)

2015-02-16 Thread Ville Skyttä
On Mon, Feb 16, 2015 at 12:15 AM, Raphaël wrote: > On Sun, Feb 15, 2015 at 12:11:33PM +0200, Ville Skyttä wrote: >> How about the attached patch >> I.e. use BASH_COMPLETION_USER_DIR if set, otherwise XDG_DATA_HOME and >> its fallback. > > seems fine to me! Ok, committed along with a fix to XDG_DA