error message when no completions and failglob is on
Bug #194419 reported by
adw
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: bash
gutsy, bash 3.2-0ubuntu11
mkdir test
cd test
touch test.tar
touch tgz
tar tf <TAB>
Should: autocomplete test.tar
Instead: nothing happens
I noticed this because I have failglob on, and it broke completion even without the tgz file.
I haven't investigated further, but it seems a glob (or probably more than one) in bash_completion isn't quoted properly and expands too early.
Related branches
Changed in bash: | |
status: | New → Incomplete |
status: | Incomplete → New |
Changed in bash-completion: | |
assignee: | nobody → zoop |
status: | Confirmed → In Progress |
Changed in bash-completion: | |
importance: | Undecided → Medium |
status: | Fix Committed → Triaged |
Changed in bash-completion: | |
assignee: | zoop → nobody |
To post a comment you must log in.
I couldn't confirm this on my Gutsy installation.
I used the same steps that adw used, but hitting <TAB> after
tar tf<SPACE><TAB>
autocompleted a "t" and hitting <TAB> again gave me tgz and test.tar as the completion options.
So I typed
mkdir test
cd test
touch test.tar
touch tgz
tar tf<SPACE><TAB>
and I got expected behavior.
However, if I omitted the <SPACE> after tf, I got nothing, so
mkdir test
cd test
touch test.tar
touch tgz
tar tf<TAB>
Results in nothing.
Can anyone else confirm this?