From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25550 invoked from network); 18 Feb 2001 19:29:41 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Feb 2001 19:29:41 -0000 Received: (qmail 3138 invoked by alias); 18 Feb 2001 19:29:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3628 Received: (qmail 3126 invoked from network); 18 Feb 2001 19:29:25 -0000 Date: Sat, 17 Feb 2001 13:54:58 +0100 From: Thomas =?iso-8859-1?Q?K=F6hler?= To: zsh-users@sunsite.auc.dk Subject: Re: "rehash" each time a new program is installed? Message-ID: <20010217135458.A27129@picard.franken.de> Mail-Followup-To: Thomas =?iso-8859-1?Q?K=F6hler?= , zsh-users@sunsite.auc.dk References: <1010215193109.ZM12208@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: ; from wayned@users.sourceforge.net on Fri, Feb 16, 2001 at 10:23:38AM -0800 X-Operating-System: Linux picard 2.2.17 X-Editor: VIM - Vi IMproved 6.0v ALPHA http://www.vim.org/ X-IRC: tirc; Nick: jeanluc X-URL: http://jeanluc-picard.de/ --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 16, 2001 at 10:23:38AM -0800, Wayne Davison wrote: >=20 > On Thu, 15 Feb 2001, Bart Schaefer wrote: > > On Feb 15, 6:57pm, Louis-David Mitterrand wrote: > > } Oh, and a last one ;) Is it possible to "fignore" a file except when > > } it's the only completion candidate (considering the typed string e.g.= )? > >=20 > > That should happen already: >=20 > There's a problem with this in the new completion system (which I > complained about quite a while ago). Fignore works with the old > completion code, but the new system will never complete a file name > in the fignore list. An example of doing both: >=20 > % zsh -f > % fignore=3D( .bak ) > % touch test1 test1.bak > % ls test1. >=20 > This results in the expected test1.bak. Now continue: >=20 > % autoload -U compinit > % compinit > % zstyle ':completion:*' completer _expand _complete > % bindkey '\t' complete-word > % ls test1. Uhm. % zsh -f picard% fignore=3D( .bak ) picard% touch test1 test1.bak picard% autoload -U compinit picard% compinit picard% ls test1. -> leads to picard% ls test1.bak Ah, here's the problem: complete-word! expand-or-complete works fine! Why is this the case? > ..wayne.. 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 --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6jnSiTEYXWMJlHuYRAu1XAJ9Bddhq3l7ySU8MlKBANbo49lJm+wCgk812 b4yUgJH5IlErJFL7pYXnHjg= =7mzv -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--