From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22591 invoked from network); 5 Feb 2002 15:13:10 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Feb 2002 15:13:10 -0000 Received: (qmail 10160 invoked by alias); 5 Feb 2002 15:12:51 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4651 Received: (qmail 10147 invoked from network); 5 Feb 2002 15:12:51 -0000 Date: Tue, 5 Feb 2002 15:12:48 +0000 From: Rik To: Oliver Kiddle Cc: zsh-users@sunsite.dk Subject: Re: Can someone help me convert compctl to zstyle, please. Message-ID: <20020205151248.GA8787@spoon.pkl.net> References: <20020205103802.GA3602@spoon.pkl.net> <20020205112619.20191.qmail@web9301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020205112619.20191.qmail@web9301.mail.yahoo.com> User-Agent: Mutt/1.3.25i On Tue, Feb 05, 2002 at 11:26:19AM +0000, Oliver Kiddle wrote: > Ignore the _sysctl example I gave you and try something simpler like: > _f() { compadd one two three } ; compdef _f f > If that works, then you're not missing anything fundamental. Aha. Completing from a list now understood. I bet the rest of it falls into place now. > It's an area of the new completion system that needs some reworking. I've just used the arbitrary list completion, rather than the _ssh function provided. I have the old behaviour back now, and I am happy. Many thanks, Oliver To the list: There's one thing last thing I've just noticed. I was using ~/.zprofile under 4.0.2. I upgraded to 4.0.4 and it decided to ignore ~/.zprofile. Is there a reason for this? If it's compile specific, then additional information is that I've just used a default install from FreeBSD ports. 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