Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [stew@xxxxxxxxx: Bug#295511: patch]
- X-seq: zsh-workers 20917
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: [stew@xxxxxxxxx: Bug#295511: patch]
- Date: Wed, 2 Mar 2005 11:17:31 -0800
- In-reply-to: <20050302185147.GC21435@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050302052845.GA27771@xxxxxxxxxxx> <20050302185147.GC21435@xxxxxxxxx>
On Wed, Mar 02, 2005 at 10:51:47AM -0800, Wayne Davison wrote:
> So, I think it would be good to work up a patch that would cause the
> _make script to avoid trying to expand (or set) numeric arg variables
The fix to avoid expanding something like $1 was trivial, so I checked
it in to both the trunk and the patches branch:
--- Completion/Unix/Command/_make 11 Nov 2004 19:05:25 -0000 1.14
+++ Completion/Unix/Command/_make 2 Mar 2005 19:06:23 -0000 1.15
@@ -17,7 +17,7 @@ expandVars() {
open='{'
close='}'
;;
- ([[:alnum:]]*)
+ ([[:alpha:]]*)
open=''
close=''
var=${(s::)var[1]}
This change avoids the infinite recursion cited in Debug bug #295511.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author