bash tab complete faulty where filename starts with $
Bug #19364 reported by
Tristan Wibberley
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
In bash, type "touch '$#!~'" and press return to create empty file named '$#!~'.
Then type "ls -l '$" (note the single quote)
Press tab until you get a list of suggestions (possibly scrolling with return)
The suggestions are as if the single quote wasn't present (ie, shell variables)
rather than simply completing to '$#!~'
Expected bahaviour, bash should tabcomplete '$ to '$#!~' if there is just one
file named '$#!~'
To post a comment you must log in.
not a bug, use ls \$<tab>. using $<tab> enables variable completion.