Installation of the acroread package causes completion to treat directories like files with some commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acroread (Ubuntu) |
Fix Released
|
Undecided
|
Brian Thomason | ||
bash-completion (Debian) |
Fix Released
|
Unknown
|
|||
bash-completion (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash-completion
Scenario: go to home directory in terminal, then type "ls Deskto" (without quotes) and press Tab. Result: command line completes to "ls Desktop " (with space after "Desktop"). The problem here is that you may want to continue typing to get to a subdirectory. If I recall correctly, in earlier releases the completion would be "ls Desktop/", where you could press Enter or continue typing.
This problem exists with at least 'ls' and 'rm'. It seems more is broken because if in above steps you replace 'ls' with 'tar' then you don't get any completion at all, even though Desktop is a folder and hence can contain some archive file. It looks like completion tries to get a "fully-complete" completion and ignores the possibility of intermediate folders.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: bash-completion 1:1.3-1ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Tue Apr 5 21:18:42 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: Upgraded to natty on 2011-04-02 (3 days ago)
Changed in bash-completion (Ubuntu): | |
status: | New → Confirmed |
summary: |
- Completion is too jealous for basic commands + Completion treats directories like files with some commands |
Changed in bash-completion (Debian): | |
status: | Unknown → Won't Fix |
Changed in acroread (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Brian Thomason (brian-thomason) |
Changed in bash-completion (Debian): | |
status: | Won't Fix → New |
Changed in bash-completion (Debian): | |
status: | New → Fix Released |
I could not reproduce this bug, but according to the duplicates here are some more details about commands that trigger this bug:
Not working: cat, ls, less, rm, mkdir
Working: cd, vim, more