[Bash-completion-devel] [bash-completion-Bugs][312795] Bash completion should also load files from /usr/local/etc/bash_completion.d

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Mon Nov 1 05:47:13 UTC 2010


Bugs item #312795, was opened at 2010-11-01 01:47 by Alexandre Quessy
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312795&group_id=100114

Status: Open
Priority: 3
Submitted By: Alexandre Quessy (alexandrequessy-guest)
Assigned to: Nobody (None)
Summary: Bash completion should also load files from /usr/local/etc/bash_completion.d 
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
Hello,

In which paths does the bash completion look? By looking at /etc/bash_completion, I think it's only /etc/bash_completion, not /usr/local/etc/bash_completion.d

That means that my Makefile.am should not install the bash completion file to $(sysconfdir)/bash_completion.d, but rather to /etc/bash_completion.d. (hard-coded)

Here is an example from my Toonloop project: 

completiondir = $(sysconfdir)/bash_completion.d
dist_completion_DATA = toonloop

That's slightly annoying, because installing from a tarball will override the file from the Debian package, if installed. 

It would be much nicer if the /etc/bash_completion would also look in the /usr/local/etc/bash_completion.d directory. 

Am I right?
Best regards,
Alexandre Quessy
http://wiki.debian.org/AlexandreQuessy 

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312795&group_id=100114



More information about the Bash-completion-devel mailing list