zsh-workers
 help / color / mirror / code / Atom feed
From: dana <dana@dana.is>
To: "Ravi (Tom) Hale" <ravi@hale.ee>
Cc: zsh-workers@zsh.org
Subject: Re: POSIX: reserved words should not expand into aliases
Date: Sun, 15 Jul 2018 14:04:26 -0500	[thread overview]
Message-ID: <7F659767-BCB1-4EA2-8C85-926D46B07B5A@dana.is> (raw)
In-Reply-To: <d5990798-7ab4-746f-8f88-81b51e8551c6@hale.ee>

On 15 Jul 2018, at 07:16, Ravi (Tom) Hale <ravi@hale.ee> wrote:
>It seems that both `{ba,z}sh` have a bug here.
>
>How do I access a reserved word if an alias is hiding it?

http://zsh.sourceforge.net/Doc/Release/Options.html#Shell-Emulation

>POSIX_ALIASES <K> <S>
>When this option is set, reserved words are not candidates for alias expansion:
>it is still possible to declare any of them as an alias, but the alias will
>never be expanded. Reserved words are described in Reserved Words.

dana


      reply	other threads:[~2018-07-15 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-15 12:16 Ravi (Tom) Hale
2018-07-15 19:04 ` dana [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=7F659767-BCB1-4EA2-8C85-926D46B07B5A@dana.is \
    --to=dana@dana.is \
    --cc=ravi@hale.ee \
    --cc=zsh-workers@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).