From: Mario Lang <mlang@delysid.org>
To: zsh-users@sunsite.auc.dk
Subject: {(t)...} usage
Date: Fri, 14 Jun 2002 17:06:37 +0200 [thread overview]
Message-ID: <87it4l7vcy.fsf@lexx.delysid.org> (raw)
Hello.
(Please reply direct to me, I am not subscribed)
I am trying to place the hosts completion
part in my .zshrc into a zstyle -e expression.
For that, I'd like to use a unique array, and I found
the (t) flag in the manpages.
There is just no example there, and I didnt figure out how
to use it.
${(t)array-unique $(grep -v "^#" /etc/hosts) ${...some_ssh_known_hosts_too})
Is basicly what I want to do.
But the usage ot (t) is obviously wrong, it just doesnt work.
Can anyone give me an example on how to do this?
--
CYa,
Mario
next reply other threads:[~2002-06-14 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-14 15:06 Mario Lang [this message]
2002-06-15 21:29 ` Eric Gillespie
2002-06-15 23:06 ` Bart Schaefer
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=87it4l7vcy.fsf@lexx.delysid.org \
--to=mlang@delysid.org \
--cc=zsh-users@sunsite.auc.dk \
/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).