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

Re: alias hygiene



Daniel Shahaf wrote on Sat, 17 Feb 2018 13:54 +0000:
> However, note also:
> 
>     % alias x='echo foo; echo bar'
>     % x qux

By the way, this alias definition isn't quite good either; it would be
better with braces or as a function, to avoid unexpected parsing.  This
is similar to the need for «do { ... } while (0)» loops in C statement macros.



Messages sorted by: Reverse Date, Date, Thread, Author