single completion possibility not recognised
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Using Gutsy Gibbon, all updates upto 2007-11-14 applied.
Problem is that the completion doesn't recognise files which just appeared while you are using the completion. To verify, open two terminals and go to an empty folder (the same empty folder for both terminals). In terminal one, type "less xyz", but don't hit TAB yet. Go to terminal two, type "touch xyzfoo", press ENTER. Go to window one, hit TAB and the command line is completed to "less xyzfoo ". This is OK.
The problem is this: In terminal one, type "less abc" and hit the TAB key (this is the difference!). Since no completion is available, nothing happens. Now go to terminal two and type "touch abcfoo", press ENTER. Go to terminal one and hit TAB again. It now doesn't complete the current command line, instead it offers a list of possible completions which has only one entry. This is IMHO not consistent.
The completion works again as soon as you modified the command line. Type BACKSPACE and "c", so the line looks again like "less abc", then hit the TAB key. Now the completion picks up the file and the line reads "less abcfoo " as it should.
Changed in bash: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in bash: | |
status: | Confirmed → Triaged |