On Sat, Jan 17, 2009 at 03:27:04PM +0000, Stroller wrote:
>
> On 17 Jan 2009, at 13:23, Jean-Baptiste Mestelan wrote:
>> ...
>> Now, I am unsure whether this is a feature, but:
>> when I tab-complete 'cd ' followed an environment variable, bash
>> insists on escaping this variable.
>>
>> ex: cd $<TAB> -> cd \$
>> Which means I end up typing for example
>> # cd \$DOC
>> and this is not resolved right.
>>
>> If the variable path is not preceded by 'cd ' , bash completes it OK,
>> without escaping them.
>
> A system here does the same thing, another across town behaves "correctly".
>
> (I don't actually have $DOC set on either, but `cd /` and then use
> autocomplete to `cd $HOME`, which is set.)
>
> I don't know much about this, but I wonder if it may be related to some of
> Gentoo's 3rd-party Bash-completion features?
I have the same problem, and it also won't tab complete file names
inside back quotes as it used to. If I have /tmp/fix-me-now, this
will simply beep. It used to work. I have gotten so used to gentoo
enhancements screwing up things like this that I won't waste time
filing bug reports or whining on the mailing liost until it has gone
several weeks without being fixed. I figure sooner or later some dev
will notice it without haviung to ignore my whinings in the mean time.
$ emacs `cat /tmp/fix[TAB]
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / [email protected]
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o