bash on this this system:
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux
cd /tmp touch test1.txt && touch test2.txt && touch test3.txt ls test [tab][tab]
test1.txt test2.txt test3.txt
below the command line.
That is how I expect
bash autocomplete to behave.
But when I type:
ls test* [tab][tab]
(expecting the same result) I only get (I.e. autocomplete exclusively expands to):
So the asterisk (
*) wildcard at the end makes
test.txt 'unreachable'. I'm pretty sure the two sequences used to give the same results in previous versions of bash -- at least on my computer.
Does anyone else have this problem? Is it a default setting (e.g. in Debian 8) that can be changed? (I tried to set and unset different shell parameters with
shopt but to no avail).