Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: alias hygiene
- X-seq: zsh-users 23137
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: alias hygiene
- Date: Sat, 17 Feb 2018 15:36:02 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=1eWbV9 S00rJY347jxYXHAbDzA1MW8RP1XZBPoAkVl7g=; b=DVRzgXQwoBp+jku9JnGcLj pQwmOP/MlNK+V5F2HVXYhEfUwGOL1SjcVABV7oCrd4GLix9f0ZwwMYXYWfP4hs4k 6wcQJzJSCxCVep6lmt8RSO5ORMOubFSaI0jfTaLQWBDAQRy/mDo31KFBDkhbX/QF t1kny42cAiQCmDNTN33ECGOPL/AsMKSFsz5J+CK25c4na6X0It4zrxVcvtZqgwxN Nzru6dEHOy3CJ1DphV+DNTo8qSfBVkACmUX1gnaUhEQAMIeu93WuWfU9Sgm/8K6L MVMlnZP7gp1NMcKokg4FICBzVTjidlh0qwkghWikVUGG3RzXm8d98pzMaELauKwA ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=1eWbV9 S00rJY347jxYXHAbDzA1MW8RP1XZBPoAkVl7g=; b=TGjWGEFQhrtz7sZOKf8z+M T+0t4giCVgdFXxQciX9PMUFXm8kAm0aNZxdorAq7q2JKQPi8v27Yis+wgk30RQkS 6TMk92m8HRCWixX83Bgp5iyDawrt050CLuJXrNcFWMP4dkGKggTkgYwjNB+8hnsf n7Q6fcHLE/aTODXSKg7P2KroIOA8EFO6a/5xOzbZkSYGQkf3/Tgyi0OC8fLj1SFM ExZELeiLch97UIqfjTu6sM5QGhIGdlsey3QRbzkGRys8ncQnIIgeeGIdJRnkgnp2 E0qJEkXGSB+/IGlDJHwr5055kq0dguVBCbuTthf3c17Sfqx8IbDkwLTGnM07d6NQ ==
- In-reply-to: <1518875676.3562728.1274073304.5ED24DC8@webmail.messagingengine.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1679a1e0-f716-e501-c4c2-f7e485f9701f@eastlink.ca> <1518827410.2159479.1273706656.1F5B436D@webmail.messagingengine.com> <37bb7b6b-ad70-6d03-f979-0e0d3b0be4d3@eastlink.ca> <1518875676.3562728.1274073304.5ED24DC8@webmail.messagingengine.com>
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