[Bash-completion-devel] multiple directories in BASH_COMPLETION_COMPAT_DIR ?

Ville Skyttä ville.skytta at iki.fi
Sat Nov 15 19:48:46 UTC 2014


On Sun, Nov 2, 2014 at 7:23 PM, Raphaël <raphael.droz at gmail.com> wrote:
> Attached a quick patch.

The patch does not apply against current git. Also, this stuff should
be documented somewhere, README or doc/bash_completion.txt

> As personal completions could probably be stored in a versioned
> directory under ~/.dotfiles/.bash_completion thus I put:
>> $BASH_COMPLETION_USER_DIR           overrides
>> $XDG_DATA_HOME/bash-completion      overrides
>> $HOME/.local/share/bash-completion

I'd rather not add a new env var. If you prefer
~/.dotfiles/.bash_completion over $XDG_DATA_HOME/bash-completion, just
symlink it...?



More information about the Bash-completion-devel mailing list