Re: bash tab variable expansion question?

2011-09-05 Thread Martin von Gagern
On -10.01.-28163 20:59, Chet Ramey wrote: Bash-4.2 tries to leave what the user typed alone, but that leads to an inherently ambiguous situation: when do you quote the `$' in a filename (or, in this case, a directory name)? It could be a shell variable, and it could be a character in the

Re: bash tab variable expansion question?

2011-09-05 Thread Roger
The option works, as far as I can see. ls $HOM completes to ls $HOME instead of ls $HOME/, though. Weird. On Gentoo here, echo $HO does complete to echo $HOME, but ls $HO fails to complete here. (It is enabled here $ eselect bashcomp list |grep coreutils. Just to verify, I just wiped

Re: bash tab variable expansion question?

2011-09-05 Thread Roger
On Mon, Sep 05, 2011 at 12:40:02AM -0800, Roger wrote: The option works, as far as I can see. ls $HOM completes to ls $HOME instead of ls $HOME/, though. Weird. On Gentoo here, echo $HO does complete to echo $HOME, but ls $HO fails to complete here. (It is enabled here $ eselect bashcomp