[Triumf-linux-managers] Disable SL5.1 bash autocompletion?

Kelvin Raywood kray at triumf.ca
Wed Apr 30 12:45:53 PDT 2008


Konstantin Olchanski wrote:
> 
> Hi, there - does anybody know how to disable bash autocompletion
> in SL5.1?

There are two different functionalities; file completion and 
programmable completion.  The latter does context-based completion based 
on rules provided by an extra package called bash-completion.

http://www.caliban.org/bash/index.shtml#completion

"yum remove bash-completion" will restore the filename-completion only 
for all users.

>  Perhaps some people find it useful, but I now see that
> it is very broken, basically does not work. I do not want to use it
> and I would not recommend it to other people.
> 
> 1) How do I turn it off on a per-user basis?

shopt -u progcomp

> 2) Can the TRIUMF kickstart be modified to disable this mis-feature
> for the root user by default?

I need to make a new kickstart as the on-board network-interface of the 
newest intel motherboards needs an updated driver.  So I will remove 
bash-completion from the set of installed packages.  Those that want it 
can install it manually.

Kel


More information about the Triumf-linux-managers mailing list