From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8440 invoked from network); 29 May 2000 01:45:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 May 2000 01:45:20 -0000 Received: (qmail 6823 invoked by alias); 29 May 2000 01:45:00 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3086 Received: (qmail 6792 invoked from network); 29 May 2000 01:44:59 -0000 Date: Sun, 28 May 2000 18:48:11 -0700 From: David Bustos To: zsh-users@sunsite.auc.dk Subject: Re: Menu-completion for particular commands Message-ID: <20000528184811.A30691@alex.caltech.edu> Mail-Followup-To: David Bustos , zsh-users@sunsite.auc.dk References: <20000528154750.A2967@alex.caltech.edu> <1000529001258.ZM28486@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <1000529001258.ZM28486@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Mon, May 29, 2000 at 12:12:58AM +0000 Sender: David Bustos --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 29, 2000 at 12:12:58AM +0000, Bart Schaefer wrote: > On May 28, 3:47pm, David Bustos wrote: > } Subject: Menu-completion for particular commands > } > } How do I get zsh to menu-complete arguments to vim and gvim, while leav= ing > } normal completion for other commands alone? >=20 [completion installation, context determination, and the menu style] > With these two pieces of information, you're ready to write a "zstyle" > command: >=20 [snip] >=20 > zsh% zstyle ':completion::complete:(g|)vim::default' menu true This didn't work immediately. ':completion:*:(g|)vim:*' did, though. [snip] >=20 > --=20 > Bart Schaefer Brass Lantern Enterprises > http://www.well.com/user/barts http://www.brasslantern.com >=20 > Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net = =20 Thanks alot, David Bustos --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: 2.6.3a iQBVAwUBOTHMW9ISBMy2Ud2ZAQHzBQH5AUcY/9g3saAP/KuftKDh6XsYzKewXHJ1 XG0Ow51Jj5/s+DG/vRv3/Eq5qsYUmdyXKSvuhnVYf5FI9nwIy7NHQg== =xPvl -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--