difference in bash tab completion between fedora and SLES11

Robert P. J. Day rpjday at crashcourse.ca
Thu Sep 24 09:48:20 UTC 2009


On Thu, 24 Sep 2009, Rahul Sundaram wrote:

> On 09/24/2009 01:28 PM, Robert P. J. Day wrote:
>
> >   it appears that tab completion is trying to be intelligent about
> > this (gunzip should be offered only .gz files and *directories*?),
> > and tying the completion possibilities to the command.  i've never
> > seen this before.  bash feature?  config file to define this?
>
> Probably bash-completion package is installed by default?

  yes, i'd already figured out that feature but, curiously, while that
package exists for fedora, i still get that functionality on SLES11
with no such package installed.  on SLES11, it appears to be just part
of the shell, accompanied by the directory /etc/bash_completion.d/ and
the file /etc/profile.d/complete.bash.  i see no individual package on
SLES11 that supports that feature.

  in any event, mystery solved.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================




More information about the fedora-list mailing list