Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
ssh compctl
- X-seq: zsh-users 2445
- From: Bek Oberin <gossamer@xxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxxxxxx>
- Subject: ssh compctl
- Date: Mon, 19 Jul 1999 20:54:36 +1000
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
I want to get ssh to complete either user@host or host. I've figured
out the former, with much rtfm'ing, but not the latter ... how can I
give it alternates?
This is what I have:
# ssh, users-I-ssh-as and hosts
hosts=(tertius.net.au www.tertius.net.au dora.tertius.net.au mycroft.tertius.net.au localhost news.netizen.com.au www.netizen.com.au netizen.com.au hiro.netizen.com.au juanita.netizen.com.au reason.netizen.com.au)
users=(gossamer bekj root)
compctl -k users -S'@' -x 'n[1,@]' -k hosts -- ssh
How do I put alternates in? Surce it's in the docos, but my eyes
are beginning to glaze over :)
bekj
--
: --Hacker-Neophile-Eclectic-Geek-Grrl-Queer-Disabled-Boychick--
: gossamer@xxxxxxxxxxxxxx http://www.tertius.net.au/~gossamer/
: The dark minute the caterpillar calls the end of the world is
: the sun-filled moment the butterfly calls the beginning. -- ??
Messages sorted by:
Reverse Date,
Date,
Thread,
Author