[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash tab variable expansion question?
From: |
Chet Ramey |
Subject: |
Re: bash tab variable expansion question? |
Date: |
Mon, 05 Mar 2012 15:28:58 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
On 3/5/12 2:07 PM, Sebastian Siebert wrote:
> Thanks for the great patch.
>
> I have applied your patch in our bash 4.2 + Patchlevel 20. It is solved an
> issue with variable expansion. But on the other side bash completion is
> broken. :-(
>
> Bash completion with local file (./some_script.sh, e.g.) would not be working:
>
> # ./some_sc <TAB>
>
> Current result:
> # ./some_sc
>
> Expected result:
> # ./some_script.sh
>
> It seems that the bash completion stops working.
>
> I have added another patch to fix this issue. It would be nice if you have
> a look to the patch and let me know if this is ok.
Thanks. This is not the correct fix for that particular problem. Please
look at the `direxpand' branch of the bash git tree at
http://git.savannah.gnu.org/cgit/bash.git/?h=direxpand
for a version of bash-4.2.20 with an updated direxpand patch applied.
This problem is fixed there.
Chet
--
``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/