[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tab expansion of $HOME/ to \$HOME/
From: |
Diggory Hardy |
Subject: |
Re: tab expansion of $HOME/ to \$HOME/ |
Date: |
Wed, 15 Jan 2014 11:07:57 +0100 |
User-agent: |
KMail/4.11.5 (Linux/3.12.3-1.fc21.x86_64; KDE/4.11.5; x86_64; ; ) |
Thanks Chris.
So the way I read it is that many people didn't like bash 4.1 behaviour
(expansion), but the fact that a $ is replaced with \$ in 4.2 is a bug no one
knows how to fix.
Is this correct?
(I don't want expansion either.)
Regards,
Diggory
On Tuesday 14 January 2014 10:57:03 Chris Down wrote:
> On 2014-01-13 11:00:09 +0100, Diggory Hardy wrote:
> > If I enter
> >
> > $ ls $HOME/Do
> >
> > and press the Tab key, bash expands to
> >
> > $ ls \$HOME/Documents
>
> See this older thread[0].
>
> If you bash >= 4.2.29 (which it appears you do), you can turn on
> `direxpand' to get the old behaviour back by using `shopt -s direxpand'.
>
> [0]: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00274.html
signature.asc
Description: This is a digitally signed message part.