Re: tab expansion of $HOME/ to \$HOME/

2014-01-15 Thread Diggory Hardy
Sorry Chet, for some reason I didn't see your reply until after I'd replied to Chris. On Wednesday 15 January 2014 07:50:09 Chet Ramey wrote: > On 1/15/14 5:07 AM, Diggory Hardy wrote: > > Thanks Chris. > > > > So the way I read it is that many people didn't like bash 4.1 behaviour > > (expansio

Re: tab expansion of $HOME/ to \$HOME/

2014-01-15 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/15/14 5:07 AM, Diggory Hardy wrote: > 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 cor

Re: tab expansion of $HOME/ to \$HOME/

2014-01-15 Thread Diggory Hardy
On Tuesday 14 January 2014 10:57:46 Chris Down wrote: > On 2014-01-13 20:42:39 -0500, Chet Ramey wrote: > > You can set the `direxpand' option and probably get around most of this, > > with the change that variables will be expanded upon completion, as in > > bash-4.1. > > Er, somehow I missed thi

Re: tab expansion of $HOME/ to \$HOME/

2014-01-15 Thread Diggory Hardy
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

Re: tab expansion of $HOME/ to \$HOME/

2014-01-13 Thread Chris Down
On 2014-01-13 20:42:39 -0500, Chet Ramey wrote: > You can set the `direxpand' option and probably get around most of this, > with the change that variables will be expanded upon completion, as in > bash-4.1. Er, somehow I missed this reply. Sorry for duplicating the content. pgpVryxnvHcrm.pgp De

Re: tab expansion of $HOME/ to \$HOME/

2014-01-13 Thread Chris Down
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 `

Re: tab expansion of $HOME/ to \$HOME/

2014-01-13 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/13/14, 5:00 AM, Diggory Hardy wrote: > Hello, > > I'm using this version of bash: > > $ bash --version > GNU bash, version 4.2.45(1)-release (x86_64-redhat-linux-gnu) > Copyright (C) 2011 Free Software Foundation, Inc. > License GPLv3+: GNU GPL

tab expansion of $HOME/ to \$HOME/

2014-01-13 Thread Diggory Hardy
Hello, I'm using this version of bash: $ bash --version GNU bash, version 4.2.45(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and