Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Do fake-always and ignored-patterns work together as documented?
- X-seq: zsh-users 21010
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Do fake-always and ignored-patterns work together as documented?
- Date: Sun, 29 Nov 2015 12:21:48 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version:content-type; bh=KmFkKozPLwwBSxKbzcusKF9CVzDO3I2eDWFVjgPTz5Y=; b=Ea+VqTYtESUNEq+roX4TFC566jX38AM4v79d13Q8MaOFV333eZEuH/fddOK2UqYmRJ 6+O7ySXSuHjT+GH/TYHZIeaQ8TlBiRnXyEyqjLn6q6czsHCemE84Wfx5VSyF4ub6y2D7 MrBNqE+6uKFd6BP93Fvt24GtuyH4hLylhXhBfAacuYr0Sz+kvwF8CKLV7ciaj6iC4X4v ekdWMNmFkrfcG/TGNi65oEjECkEQANMkqxDxPoFcCVbfwq40g7C7MvWkmA+11LeZYNZQ 5Xexkypp6B27FOL1Bx0WUYp8E2gOXMrkkUM3yfUVP0+onZkfnSfk5HkR3T6X1p75/bWh vUuA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Can someone give me a working example of the fake-always style combined
with ignored-patterns as described in the documentation?
fake-always
This works identically to the fake style except that the
ignored-patterns style is not applied to it. This makes it
possible to override a set of matches completely by setting the
ignored patterns to `*'.
But:
torch% zstyle :completion::complete:foo:\* fake-always FOO BAR BAZ
torch% zstyle :completion::complete:foo:\* ignored-patterns \*
torch% foo <TAB>
Completing file
aclocal.m4 config.h.in Functions/ NEWS
aczsh.m4 config.sub* INSTALL README
autom4te.cache/ configure* install-sh* Scripts/
BAR configure.ac LICENCE Src/
BAZ CVS/ MACHINES stamp-h
ChangeLog Doc/ Makefile.in stamp-h.in
Completion/ Etc/ META-FAQ StartupFiles/
Config/ FEATURES Misc/ Test/
config.guess* FOO mkinstalldirs* Util/
This seems to be because the default value for the completer style is
"_complete _ignored" but I would have expected to need _next_tags to
get the ignored files once the fake ones had been added by _complete.
I delete the fake-always style the ignored-patterns style works that
way on its own.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author