From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8140 invoked from network); 19 Jul 1999 10:57:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Jul 1999 10:57:20 -0000 Received: (qmail 25157 invoked by alias); 19 Jul 1999 10:57:04 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2445 Received: (qmail 25150 invoked from network); 19 Jul 1999 10:57:02 -0000 Date: Mon, 19 Jul 1999 20:54:36 +1000 From: Bek Oberin To: Zsh Users Subject: ssh compctl Message-ID: <19990719205436.F29765@tertius.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i X-Religion: linux slrn mutt vim 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@tertius.net.au 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. -- ??