Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: POSIX: reserved words should not expand into aliases



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