From: Emanuel Berg <embe8573@student.uu.se>
To: zsh-workers@zsh.org
Subject: multi-alias syntax
Date: Wed, 24 Jun 2015 19:16:10 +0200 [thread overview]
Message-ID: <87si9hf2n9.fsf@nl106-137-147.student.uu.se> (raw)
Is there a better way to do, e.g.
debian-version () { lsb_release -a }
for a in debian-ver version ver; do
alias $a=debian-version
done
as
alias a b c=d
doesn't set a and b to d, only c.
--
underground experts united
http://user.it.uu.se/~embe8573
next reply other threads:[~2015-06-24 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 17:16 Emanuel Berg [this message]
2015-06-24 18:34 ` Bart Schaefer
2015-06-24 23:08 ` Emanuel Berg
2015-06-25 1:42 ` Bart Schaefer
2015-06-25 1:55 ` Emanuel Berg
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=87si9hf2n9.fsf@nl106-137-147.student.uu.se \
--to=embe8573@student.uu.se \
--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).