From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: what can be global aliases used for?
Date: Fri, 17 Feb 2023 15:54:21 +0100 [thread overview]
Message-ID: <CAKc7PVAX3oJdrJDiqjxsLMH5+DaYt09dwzqA01ZBEY3rWwd_5A@mail.gmail.com> (raw)
In-Reply-To: <CAKc7PVA0X1786JP7g69aDP8eL+1oAZpipVC-4BNm1KV=OPxe7A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
I'm trying to get the suspected capabilities out of global aliases.
Currently I'm using them for:
- macro-like labels for exporting patterns like EMPTYSTR being
[[:space:][:INVALID:]]# roughly, to a single place,
- macro-like SNIP_EMULATE_OPTIONS_ZERO that invokes emulate, setopt and
0=...
I wonder what else can global aliases do?
[-- Attachment #2: Type: text/html, Size: 589 bytes --]
next parent reply other threads:[~2023-02-17 14:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKc7PVA0X1786JP7g69aDP8eL+1oAZpipVC-4BNm1KV=OPxe7A@mail.gmail.com>
2023-02-17 14:54 ` Sebastian Gniazdowski [this message]
2023-02-17 17:15 ` Roman Perepelitsa
2023-02-17 19:10 ` Bart Schaefer
2023-02-17 21:11 ` Lawrence Velázquez
2023-02-17 21:19 ` Roman Perepelitsa
2023-02-17 23:27 ` Lawrence Velázquez
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=CAKc7PVAX3oJdrJDiqjxsLMH5+DaYt09dwzqA01ZBEY3rWwd_5A@mail.gmail.com \
--to=sgniazdowski@gmail.com \
--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).