zsh-users
 help / color / mirror / code / Atom feed
* {(t)...} usage
@ 2002-06-14 15:06 Mario Lang
  2002-06-15 21:29 ` Eric Gillespie
  2002-06-15 23:06 ` Bart Schaefer
  0 siblings, 2 replies; 3+ messages in thread
From: Mario Lang @ 2002-06-14 15:06 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-15 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-14 15:06 {(t)...} usage Mario Lang
2002-06-15 21:29 ` Eric Gillespie
2002-06-15 23:06 ` Bart Schaefer

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).