From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8925 invoked by alias); 7 Nov 2015 17:12:29 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20920 Received: (qmail 1630 invoked from network); 7 Nov 2015 17:12:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=fxC3H6zYox44tC8tm74rTGcENdHPpPX6dHANZDOb8hY=; b=kp0ya5RYxvQPhsofX/HsxtPOeLjFSdo1LWKlvPtduemDysa5TatEZFNUcJ6CtX02KD Mn1b8hdMBEG+I5ttu9DbmJgrmQnsyq5DUgUeuFkblBt69BGlJOCUmRNnWwbuVB8Ou04n i8Yc18G45qcf/+0zUY2Y5JU14HEHxjV803iIz1fQ/kuu7nkYkKwPnjvIVnEsvmjS9hN3 eEO+b84ZAVDJwRh75yJ9l3EzgXUVmlGC6pdcfw+OvWdzVtGX5MKhfBhXzoKzEhcfvWeK YKaWChretSO4yBHbRclszA57XSKn5bgE7rMmHrGfggqCiryvajAZNMEAv5L1/jxgsQhe v3HQ== X-Gm-Message-State: ALoCoQnGXNGRlMN51NOLoR+oRgfL2LluHGxrOyH45BdL1ffv3xs+obIyruUIAgQqFDlaDPtAzbJ+ X-Received: by 10.202.177.70 with SMTP id a67mr4488974oif.30.1446916345349; Sat, 07 Nov 2015 09:12:25 -0800 (PST) From: Bart Schaefer Message-Id: <151107091222.ZM24119@torch.brasslantern.com> Date: Sat, 7 Nov 2015 09:12:22 -0800 In-Reply-To: Comments: In reply to zzapper "FYPI zsh 5.1.1 (cygwin) broke my .zshrc" (Nov 7, 2:25pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zzapper , zsh-users@zsh.org Subject: Re: FYPI zsh 5.1.1 (cygwin) broke my .zshrc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.