From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-users@zsh.org
Subject: Re: [KEYWORD?] end()
Date: Thu, 26 Feb 2015 15:16:10 +0000 [thread overview]
Message-ID: <20150226151610.38761d47@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAGw_SrNT_A33kR9LnpRgyx01bSsoJie10Vn4iV0eLF6uGL-XGw@mail.gmail.com>
On Thu, 26 Feb 2015 15:15:50 +0100
toki clover <tokiclover@gmail.com> wrote:
> I'm just having an issue defining a simple end() function,
> zsh throws a parsing error... which doesn't come up when
> renaming the function name e.g End.
>
> Any idea on this?
>
> Googled quickly this to no avail and now I am looking for
> any special treatment of 'end' keyword in zshmisc(1).
You're looking in the right place, the information's in there if you
look far enough.
"end" is used by csh-style syntax, which isn't really recommended any
more.
You can disable the keyword:
disable -r end
('r' for reserved word) without any further problems.
pws
prev parent reply other threads:[~2015-02-26 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-26 14:15 toki clover
2015-02-26 15:16 ` Peter Stephenson [this message]
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=20150226151610.38761d47@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--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).