difference in bash tab completion between fedora and SLES11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i'm confused -- i just installed suse enterprise system 11 (SLES 11)
on a laptop and wanted to check the contents of the initrd file.  so,
as i've done on fedora many times, i popped into /boot and typed:

  $ gunzip -c ini<TAB>

to let tab completion fill out the rest of the "initrd" file (or at
least as much as it could until i needed to help out).

  on fedora 11, this would work just fine -- tab completion blindly
sees what matches and goes from there.

  on SLES 11, though, tab completion did *nothing*.  it just sat
there, even though there were two objects in /boot that started with
that prefix.

  i tried the same tab completion with "ls" and "file", and it worked
fine.  but not with "gunzip".  so, as a test, i just did:

  $ gunzip -c <TAB>

and, to my surprise, all i was offered as possibilities were 6 out of
14 objects in that directory -- the two directories, and the four
files that ended with .gz.  huh?

  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?

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
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux