[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tab completion with variable expansion broken
From: |
Aharon Robbins |
Subject: |
Re: tab completion with variable expansion broken |
Date: |
Mon, 15 Oct 2012 17:32:35 +0000 (UTC) |
In article <mailman.10999.1350260234.855.bug-bash@gnu.org>,
Chet Ramey <chet.ramey@case.edu> wrote:
>On 10/14/12 8:52 AM, William F Hammond wrote:
>>
>> Configuration Information [Automatically generated, do not change]:
>> Machine: i686
>> OS: linux-gnu
>> Compiler: gcc
>> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
>-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
>-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/src/gnu/share/locale'
>-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
>-g -O2
>> uname output: Linux jeanubu 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26
>21:32:50 UTC 2012 i686 athlon i386 GNU/Linux
>> Machine Type: i686-pc-linux-gnu
>>
>> Bash Version: 4.2
>> Patch Level: 37
>> Release Status: release
>>
>> Description:
>> If I have ul=/usr/local in the environment, I may want to
>> use a reference to it together with tab completion to go to
>> the directory /usr/local/share/emacs/site-lisp.
>
>If you indeed are using bash-4.2.37, you can enable variable expansion
>by running `shopt -s direxpand'. This will produce the behavior you
>want.
>
>I'm wondering if you've got programmable completion enabled, or whether
>you're running a different version of bash than bashbug indicates, because
>stock 4.2.37 doesn't quote the dollar sign.
>
>--
>``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
>Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
>
Is there something that can be done for 4.2.24 (/bin/bash on Ubuntu 12.04)?
Thanks,
Arnold
--
Aharon (Arnold) Robbins arnold AT skeeve DOT com
P.O. Box 354 Home Phone: +972 8 979-0381
Nof Ayalon Cell Phone: +972 50 729-7545
D.N. Shimshon 99785 ISRAEL