zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zzapper <david@rayninfo.co.uk>, zsh-users@zsh.org
Subject: Re: FYPI zsh 5.1.1 (cygwin) broke my .zshrc
Date: Sat, 7 Nov 2015 09:12:22 -0800	[thread overview]
Message-ID: <151107091222.ZM24119@torch.brasslantern.com> (raw)
In-Reply-To: <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.


  reply	other threads:[~2015-11-07 17:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-07 14:25 zzapper
2015-11-07 17:12 ` Bart Schaefer [this message]
2015-11-07 21:15   ` zzapper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=151107091222.ZM24119@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=david@rayninfo.co.uk \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).