Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
{(t)...} usage
- X-seq: zsh-users 5051
- From: Mario Lang <mlang@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: {(t)...} usage
- Date: Fri, 14 Jun 2002 17:06:37 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: Mario Lang <mlang@xxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author