Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: getarg() called twice?
- X-seq: zsh-workers 37333
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: getarg() called twice?
- Date: Sun, 6 Dec 2015 15:19:13 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=j5jAi/OV1BlJv/Ad5EjtgESHV+b7a7VeXX/Z9tKj4Uw=; b=Q34ZJXaaaFw7UhY1SuAsVjBMQLKwVqZJWEcwpb/rFMIct7acBubmoJEf+tNSiziLZr 0hMYULddxD+dIGVwUdaCgxacOEvQU0FfjjxeQZcllFdrJY6nHn8eq0qTr+FWJQ8Mtnh5 TJ3Qxl/xwCzeZtnVVRIX8Z+e0iVDC5NslhxCFvbAJRy35r8U5dD+HkKd9YFYC0ZSS4oZ 1F4oKa5DxEnpRGGeb9vASNoWQJhn/QLPlgwcNT8YXWZejUEXWQ90jfZm7biIUa+wkF/W AzMHry62LI0ytS9LYv7qkSq0b0s+mwZgDTZaO68a28TLvqFi6mF54qQ9QKMnzAPofHwx CVxQ==
- In-reply-to: <CAKc7PVC3DuHh=HAeNXt5-7-GWARXrThd8avyV01Encyt=FQbEQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVC3DuHh=HAeNXt5-7-GWARXrThd8avyV01Encyt=FQbEQ@mail.gmail.com>
On Dec 6, 11:59am, Sebastian Gniazdowski wrote:
}
} I attach animated gif that shows getarg() being called twice with no reason
So (>) is the new subscript flag you added. I have tried an example
similar to yours (can't try an identical one because I can't cut and
paste from an animated gif) with several of the existing subscript
flags, and I can't get GDB to hit a breakpoint in getarg() more than
one time per expansion within "zsh -f".
I suspect therefore that this is either a side-effect of your new code,
or it's a side-effect of something in your shell environment (precmd,
preexec, etc.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author