Bug 61046 - using [TAB] along with the "cd" command should only regard directories
using [TAB] along with the "cd" command should only regard directories
Product: Red Hat Linux
Classification: Retired
Component: bash (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: wdovlrrw
Ben Levenson
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2002-03-12 12:11 EST by Hakon
Modified: 2007-04-18 12:40 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-13 12:47:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Hakon 2002-03-12 12:11:05 EST
Description of Problem:

Version-Release number of selected component (if applicable):

How Reproducible:

Steps to Reproduce:
1. set up a directory with 2 empty txt files called: Linux-1 ; Linux-2 and then
a directory called Linux-dir
2. type "cd Li" ; press tab

Actual Results: "Linux-" is filled in, and there's a beep

Expected Results: only the directory "Linux-dir" should be regarded and filled
in directly since you use "cd" as command

Additional Information: It should be the same for mkdir, rmdir and possibly some
Comment 1 Hakon 2002-03-13 12:47:54 EST
Not "mkdir" of course, taking back.
Comment 2 Bernhard Rosenkraenzer 2002-03-13 12:50:27 EST
bash itself won't ever do this because it's expensive (parsing everything on tab).
It can be done using the bash-completions package from rawhide, though.

Note You need to log in before you can comment on or make changes to this bug.