Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] [bug] $SHLVL decremented for the last command of a subshell
- X-seq: zsh-workers 39121
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] [bug] $SHLVL decremented for the last command of a subshell
- Date: Mon, 29 Aug 2016 18:55:05 -0700
- 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; bh=miuUESxETBBl0C/jMIVizh0ibsvUvEkjAF9PTaFAjHg=; b=bcvJwe9oiIu1y8CLlj2veYwbpkfUmIMnAj9Ndg66dy6zGg3g+TfvFtjSyxvBLuOtfk e1m4cyxmWYHVukjJGb45k4WXsARrlmHwpITP5b8hijWer5NNiJS4DMkXNEJHdILwD3vS lJMhme37j0WQozyUJtdtn6+Evt4DM+b6xNSX6eBMxCU3zquaA9OY+M1/ZZMq3qCz9Aqc mIp0Kfp01fz7Rmj7PKnetx7sI161bOZfnxlwKi2zi7gaN+nRWS6R280/I09PT3X0+jpq ZgLk9o6tp61SkUauxMIvebUDRQkgkaLoElD0zGCVvZTvs8Tt97fxPRTsiwWz8/Af8bps qvCA==
- In-reply-to: <20160829155156.GB17700@chaz.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: <20160822061723.GA7308@chaz.gmail.com> <20160829155156.GB17700@chaz.gmail.com>
On Aug 29, 4:51pm, Stephane Chazelas wrote:
}
} I think the change below should be enough (also condensed the 2
} "if"s below (unrelated)):
This looks fine, although I think we generally keep the braces on the
"if" body whenever there is more than one line following -- even if
some of those lines are comments.
Either that or move the comment above the "if".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author