Re: super annoying completion change

2011-12-08 Thread Chet Ramey
On 12/8/11 9:14 PM, Clark J. Wang wrote: > http://lists.gnu.org/archive/html/bug-bash/2011-09/msg7.html > contains a basic summary and includes a patch that adds a `direxpand' > shell option to restore the 4.1 behavior. > > You can download a version of bash-4.2.20 with this p

Re: super annoying completion change

2011-12-08 Thread Clark J. Wang
On Thu, Dec 8, 2011 at 23:58, Chet Ramey wrote: > On 12/7/11 9:43 PM, Miles Bader wrote: > > I notice that recently the behavior of bash completion w/r/t > > environment variables has changed, in a realy annoying way: > > This has enjoyed detailed discussion in the past, on several occasions.

Re: super annoying completion change

2011-12-08 Thread Chet Ramey
On 12/7/11 9:43 PM, Miles Bader wrote: > I notice that recently the behavior of bash completion w/r/t > environment variables has changed, in a realy annoying way: This has enjoyed detailed discussion in the past, on several occasions. http://lists.gnu.org/archive/html/bug-bash/2011-09/msg000

Re: super annoying completion change

2011-12-08 Thread DJ Mills
On Wed, Dec 7, 2011 at 9:43 PM, Miles Bader wrote: > I notice that recently the behavior of bash completion w/r/t > environment variables has changed, in a realy annoying way: > > If one has an environment variable like: > >   ls=/usr/local/src > > and then hit to complete the following comma

super annoying completion change

2011-12-08 Thread Miles Bader
I notice that recently the behavior of bash completion w/r/t environment variables has changed, in a realy annoying way: If one has an environment variable like: ls=/usr/local/src and then hit to complete the following command line: $ cd $ls/ema where the intent is to do "cd /usr/lo

Re: bash silently ignores additional arguments for cd

2011-12-08 Thread Stephane CHAZELAS
2011-12-8, 10:13(+00), Stephane CHAZELAS: > 2011-12-07, 12:02(-07), Eric Blake: > [...] >> Or even nicer, behave like zsh, and treat >> cd xxx yyy >> like this (written assuming extglob syntax) >> cd xxx+($' \t')yyy > [...] > > Not sure what you're refering to, but > > cd xxx yyy > > in zsh means

Re: bash silently ignores additional arguments for cd

2011-12-08 Thread Stephane CHAZELAS
2011-12-07, 12:02(-07), Eric Blake: [...] > Or even nicer, behave like zsh, and treat > cd xxx yyy > like this (written assuming extglob syntax) > cd xxx+($' \t')yyy [...] Not sure what you're refering to, but cd xxx yyy in zsh means cd ${PWD/xxx/yyy} -- Stephane