Hi,

Tim Connors wrote:

> By placing a script in /etc/profile.d/, setting up of bash-completion
> becomes completely non-optional.  Previously, it was up to the user to
> source /etc/bash_completion, but now it is not.

Yep.

Even worse, it's confusing.  Files in /etc/profile.d are only sourced
for login shells; a typical xterm opens a non-login shell.  A more
appropriate way to use bash_completion is to check in .bashrc if the
current shell is interactive and if so source an appropriate file.

Perhaps the relevant shell fragment should go in /etc/skel/.bashrc
instead.

Hope that helps,
Jonathan



_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to