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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to