From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Something strange with matcher
Date: Thu, 23 Mar 2000 11:56:07 +0100 (MET) [thread overview]
Message-ID: <200003231056.LAA23372@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Thu, 23 Mar 2000 13:46:22 +0300
Andrej Borsenkow wrote:
> After recent patches (up to and including 10210) old setup does not
> work any more
>
> bor@itsrm2% zstyle -L
> zstyle ':completion:*' completer _oldlist _complete _match
> zstyle :completion::approximate: max-errors 3
> zstyle ':completion:*' menu 'select=0'
> zstyle ':completion:*::::default' list-colors ''
> zstyle ':completion:*:match:*' original yes
> zstyle ':completion:*:match:*' insert-unambiguous yes
> zstyle ':completion:*:paths' cursor yes
> zstyle ':completion:*:oldlist' list _match
> zstyle ':completion:*' list-rows-first yes
> zstyle ':completion:*:*:files' matcher 'r:|[.-]=**'
> zstyle ':completion:*:cd:*' matcher 'r:|[.-]=**'
> zstyle ':completion:*' group-name ''
> zstyle ':completion:*:descriptions' format 'Completing %d'
> bor@itsrm2% l
> 3.1.6-dev-16/ 3.1.6-dev-19/
> bor@itsrm2% l -19TAB
> just beeps while it did work before.
>
> Funnily, matcher for cd still works so I suspect now `files' tag is
> treated differently?
Yes, cleaner. Actually, I'm a bit suprised that it worked before, that
wasn't really planned.
Anyway, as _complete_help could have told you:
zstyle ':completion:*:all-files' matcher ...
does what you want...
I.e. _files now really only uses all-files, globbed-files, directories
or the tags you define yourselves with the file-patterns style.
Ok?
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-03-23 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-23 10:56 Sven Wischnowsky [this message]
2000-03-23 10:59 ` Andrej Borsenkow
-- strict thread matches above, loose matches on Subject: below --
2000-03-23 10:46 Andrej Borsenkow
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=200003231056.LAA23372@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@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).