1 |
I have an env var, WWW=/home/www/felix, which I have always used with |
2 |
tab completion without problems. |
3 |
|
4 |
cd $WWW/ht<tab>ph<tab>20110318 |
5 |
|
6 |
would expand in steps |
7 |
|
8 |
cd /home/www/felix/htdocs/ |
9 |
cd /home/www/felix/htdocs/photos/ |
10 |
cd /home/www/felix/htdocs/photos/20110318 |
11 |
|
12 |
But some recent bash upgrade has scuppered this. <tab> no longer |
13 |
expands the $WWW; instead, it escapes the $, adds a space at the end, |
14 |
and thinks itself clever. |
15 |
|
16 |
cd \$WWW/ht ph |
17 |
|
18 |
which does me no good. |
19 |
|
20 |
I'll be danged if I can figure out any google-fu to search for this, |
21 |
and 'bash help' and 'info bash' have done me no good either. |
22 |
|
23 |
I do not know which specific bash upgrade changed this, since I don't |
24 |
have very many of these env vars I used similarly. The current "bash |
25 |
--version" is 4.2.8(2)-release, gentoo version is app-shells/bash-4.2_p8. |
26 |
|
27 |
-- |
28 |
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. |
29 |
Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com |
30 |
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 |
31 |
I've found a solution to Fermat's Last Theorem but I see I've run out of room o |