From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8339 invoked from network); 5 Feb 2002 03:18:30 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Feb 2002 03:18:30 -0000 Received: (qmail 27880 invoked by alias); 5 Feb 2002 03:18:12 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4642 Received: (qmail 27869 invoked from network); 5 Feb 2002 03:18:12 -0000 Date: Tue, 5 Feb 2002 03:18:11 +0000 From: Rik To: zsh-users@sunsite.dk Subject: Can someone help me convert compctl to zstyle, please. Message-ID: <20020205031811.GA29284@spoon.pkl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Hello everyone, I'm having problems with zstyle. TO be perfectly honest, I've not managed to actually get it to do anthing, which means I have missed something. I used to use: listsysctls () { set -A reply $(sysctl -AN ${1%.*}) } compctl -K listsysctls sysctl ssh_common=( {,root@}mail.mynetwork.com {,root@}www.mynetwork.com ) compctl -K ssh_common ssh scp My basic problem is that an hour of staring at the man page, even with examples, has not helped in the slightest. I would appreciate it if someone could help me translate this to the new compinit/zstyle style. Thanks in advance, rik -- PGP Key: D2729A3F - Keyserver: wwwkeys.uk.pgp.net - rich at rdrose dot org Key fingerprint = 5EB1 4C63 9FAD D87B 854C 3DED 1408 ED77 D272 9A3F Public key also encoded with outguess on http://rikrose.net