Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: FYPI zsh 5.1.1 (cygwin) broke my .zshrc
- X-seq: zsh-users 20920
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zzapper <david@xxxxxxxxxxxxxx>, zsh-users@xxxxxxx
- Subject: Re: FYPI zsh 5.1.1 (cygwin) broke my .zshrc
- Date: Sat, 7 Nov 2015 09:12:22 -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=fxC3H6zYox44tC8tm74rTGcENdHPpPX6dHANZDOb8hY=; b=NA4J9PUODLXiItb3bVCgkacUPVvxQpCD/UfcOUJdzpzFmWXQN4PGAnjTYPHd7nqjW2 /mYYkvNWKj0tuizeEig08H61FfUHN2T9DhR0nSycXr5VUZFRSTHMx5PsAA9C8wyd1F8K Hzm2EhuXd7USN0zenIvcNjGxVGWgYHSUOaBy0HcLiGo8WywOERh9I8GDFxgpqcT1Di84 6Z4ROBkAwifEAS7BuYhXxKRG2k1luBzAgp+25eOJ4SuER6d0MmNlLExn8c2JfrLVU3rX If7vrTcADCV/e5k8F3vIUcpt9O161BmSovoQaL+R5l1tur6jBNu0epHmUcQt/VtxnPh0 Da9A==
- In-reply-to: <XnsA54B92ABCDEC5davidrayninfocouk@80.91.229.13>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA54B92ABCDEC5davidrayninfocouk@80.91.229.13>
On Nov 7, 2:25pm, zzapper wrote:
}
} /home/win7pc/.zshrc:7564: parse error near `}'
} (I only have 3040 lines)
That's a little odd -- I'd tend to suspect that lineno is not getting
reset when the parser scans back and forth over (( expressions to
decide whether they are math or subshells.
} Turned out I'd inadvertently defined a few functions without the ()
} parenthesis
That should be perfectly valid syntax, which makes me suspect something
else is going awry that is accidentally fixed by introducing an additional
close-paren. It'd be instructive to look at "setopt verbose" or perhaps
"setopt xtrace" output of the failing .zshrc, or you can try gradually
removing bits of that .zshrc until you find the specific thing that's
going wrong.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author