Bug 74649 - Tab completion and new files.
Summary: Tab completion and new files.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash
Version: 8.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2002-09-29 04:42 UTC by Ralph Loader
Modified: 2007-04-18 16:46 UTC (History)
0 users

Clone Of:
Last Closed: 2003-03-25 17:44:19 UTC

Attachments (Terms of Use)

Description Ralph Loader 2002-09-29 04:42:35 UTC
Tab completion does not work correctly on newly created files.

Version-Release number: bash-2.05b-5

How Reproducible:  Every time.

Steps to Reproduce:

1.  In a shell:

  mkdir tempdir
  cd tempdir
  ls xy<TAB> (and don't press return).

(<TAB> = press the tab key).

2. In a second shell, 'touch tempdir/xyzzy'

3. In the first shell, type <TAB> again.  

Actual Results:

The single possible completion (xyzzy) is displayed on a line, but the command
line being edited does not change:

  ~/tempdir$ ls xy
  ~/tempdir$ ls xy

Expected Results:

The string "xy" should be completed to the single possibility:

  ~/tempdir$ ls xyzzy

Comment 1 Tim Waugh 2003-03-25 17:44:19 UTC
This is intentional behaviour, according to the maintainer.

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