From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18561 invoked from network); 3 Apr 2002 12:35:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Apr 2002 12:35:07 -0000 Received: (qmail 56 invoked by alias); 3 Apr 2002 12:34:50 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4801 Received: (qmail 34 invoked from network); 3 Apr 2002 12:34:48 -0000 Date: Wed, 3 Apr 2002 14:24:31 +0200 From: Thomas =?iso-8859-1?Q?K=F6hler?= To: zsh-users@sunsite.dk Subject: Re: zsh's answer to the bash completion fm project Message-ID: <20020403122431.GD22084@picard.franken.de> Mail-Followup-To: zsh-users@sunsite.dk References: <20020403110500.GA13869@io.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Pql8miugIZX0722" Content-Disposition: inline In-Reply-To: <20020403110500.GA13869@io.com> User-Agent: Mutt/1.3.28i X-Operating-System: Linux picard 2.4.7 X-Editor: VIM - Vi IMproved 6.1 http://www.vim.org/ X-IRC: tirc; Nick: jeanluc X-URL: http://jeanluc-picard.de/ --3Pql8miugIZX0722 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable John Buttery wrote [020403 13:33]: > I was just reading freshmeat and saw the "bash programmable > completion" project listed; does anybody have any interest in doing > something similar for/with zsh? > For those not familiar with it, it's basically a project to create in > bash what in zsh would be a file containing compinit/zstyle completion > statements; just a big, sourceable .bashrc file (loaded from and in > addition to the user's normal .bashrc, presumably). > Is there perhaps already a project like this that I don't know about? > If not, I think it would be neat to start one. Question: if I/we were > to start one, what's the consensus on whether compinit or zstyle should > be used? Admittedly I'm a relatively new zsh user, but it seems from > reading the docs that the "zstyle" builtin is pretty new, so although it > may be better, there may be vastly more voluminous content out there > using the older system (kinda like it was with ipchains/iptables when > iptables came out). Perhaps it could use both, and if so would that be > a Bad Thing(tm)? Assuming nobody felt like "porting" the old compinit > stuff to zstyle of course... >=20 > Opinions?=20 Seems like it's not needed. zsh comes with tons of functions predefined for the new completion system ;) Have you tried to put autoload -U compinit compinit in your .zshrc and then type something like ssh tku and see how it is expanded to something like ssh tkoehler@unser.linux.laeuft.auf.s390.org or something? There's quite a lot of stuff there in zsh-4.0.x :-) Ciao, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de | LCARS - Linux <>< WWW: http://jeanluc-picard.de | for Computers IRC: jeanluc | on All Real PGP public key available from Homepage! | Starships --3Pql8miugIZX0722 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8qvR/TEYXWMJlHuYRAg4MAKCaozrwq3L6TzRdkwAcvpt11WYTXACePJMq Eu7IM0PsJZrvKOh+UTP+UOs= =FZhV -----END PGP SIGNATURE----- --3Pql8miugIZX0722--