zsh-users
 help / color / mirror / code / Atom feed
From: "Thomas Köhler" <jean-luc@picard.franken.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: "rehash" each time a new program is installed?
Date: Sat, 17 Feb 2001 13:54:58 +0100	[thread overview]
Message-ID: <20010217135458.A27129@picard.franken.de> (raw)
In-Reply-To: <Pine.LNX.4.21.0102161009010.20312-100000@phong.blorf.net>; from wayned@users.sourceforge.net on Fri, Feb 16, 2001 at 10:23:38AM -0800

[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]

On Fri, Feb 16, 2001 at 10:23:38AM -0800,
Wayne Davison <wayned@users.sourceforge.net> wrote:
> 
> 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.)?
> > 
> > That should happen already:
> 
> 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:
> 
>     % zsh -f
>     % fignore=( .bak )
>     % touch test1 test1.bak
>     % ls test1.<TAB>
> 
> This results in the expected test1.bak.  Now continue:
> 
>     % autoload -U compinit
>     % compinit
>     % zstyle ':completion:*' completer _expand _complete
>     % bindkey '\t' complete-word
>     % ls test1.<TAB>

Uhm.

% zsh -f
picard% fignore=( .bak )
picard% touch test1 test1.bak
picard% autoload -U compinit
picard% compinit
picard% ls test1.<TAB>
  -> 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

-- 
 Thomas Köhler 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

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-02-18 19:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 17:57 Louis-David Mitterrand
2001-02-15 19:31 ` Bart Schaefer
2001-02-16 10:18   ` Louis-David Mitterrand
2001-02-16 18:23   ` Wayne Davison
2001-02-17 12:54     ` Thomas Köhler [this message]
2001-04-12 21:07       ` problem making 4.0.1-pre-3 S. Cowles
2001-04-13 10:35         ` Andrej Borsenkow
2001-05-21 17:31         ` Andrej Borsenkow
2001-02-16  8:06 "rehash" each time a new program is installed? Sven Wischnowsky
2001-02-16 10:21 ` Louis-David Mitterrand
2001-02-19  9:20 Sven Wischnowsky
2001-02-19 20:36 ` Thomas Köhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010217135458.A27129@picard.franken.de \
    --to=jean-luc@picard.franken.de \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).