Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: POSIX: reserved words should not expand into aliases
- X-seq: zsh-workers 43174
- From: dana <dana@xxxxxxx>
- To: "Ravi (Tom) Hale" <ravi@xxxxxxx>
- Subject: Re: POSIX: reserved words should not expand into aliases
- Date: Sun, 15 Jul 2018 14:04:26 -0500
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Ljp/ND06av1v7L/mplx1g56ZjMVMl0zSdpGCLs7p9CQ=; b=KnSpSizT5BxQHymtUh/WnJT+CariBC+TaxyarTzudfbUHaW/ciI4ezWMdFj1dpZU0R YjOYld49nNLHD3ulupsnVZZFSFusu82t27ibqJ7SQ//iB5dMfUd4Ndgjw4VmzG7lThPJ qA7SbFxTUzssQ/0WjDvPLffdhrmilmZ1K8fOC70R8Psi00tWPqxemBBcIQy8zI5lBOLo G7HrllNQ1Hf6OyxrPICoBdTVtL3mL4UMqRR48bKuAEMJIVwt1pLB/dlc0SDqzBpdOXaL wAKoBv5wbv0CYX52Bsp93gMvdvBIfrCrUWyxTTW1V4UTSgBmMAZTmuIlOVxQ4ePfH6Z8 i/ZA==
- In-reply-to: <d5990798-7ab4-746f-8f88-81b51e8551c6@hale.ee>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <d5990798-7ab4-746f-8f88-81b51e8551c6@hale.ee>
On 15 Jul 2018, at 07:16, Ravi (Tom) Hale <ravi@xxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author