[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?
From: |
Jason Vas Dias |
Subject: |
readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why? |
Date: |
Thu, 5 Jul 2012 11:58:42 +0100 |
my #1 bash gripe is that newer versions do not
expand command lines containing '$' in emacs
readline editing mode. I used to be able to do:
$ export SRC=../somedir
$ less ${SRC}/<TAB>
(<TAB> meaning press horizontal tab key )
and emacs mode readline would expand,
displaying the contents of ../somedir .
Now it changes the input string into
'less \$SRC/' and prevents tab expansion
as would be done without use of any variables.
Would anyone know how to restore the old behavior
with bash 4.2.2 + readline 6.2 (linux ubuntu 12.04) ?
Thanks & Regards, Jason
- readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?,
Jason Vas Dias <=
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Eric Blake, 2012/07/05
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Jason Vas Dias, 2012/07/05
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Chet Ramey, 2012/07/05
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Jason Vas Dias, 2012/07/07
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Chet Ramey, 2012/07/08
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Jason Vas Dias, 2012/07/08
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Chet Ramey, 2012/07/08