Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion
- X-seq: zsh-users 19693
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: completion
- Date: Wed, 7 Jan 2015 16:01:09 +0100
- In-reply-to: <5489F1BC.5000900@eastlink.ca>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <5488D414.6010300@eastlink.ca> <30453.1418258082@thecus.kiddle.eu> <5488F0AC.2040901@eastlink.ca> <141210214454.ZM12261@torch.brasslantern.com> <5489C8F4.8030703@eastlink.ca> <141211092824.ZM13349@torch.brasslantern.com> <5489F1BC.5000900@eastlink.ca>
On 2014-12-11 11:34:20 -0800, Ray Andrews wrote:
> Anyway, knowing that the star replaces the colons cracks it open.
This is a bit old, but... When can an asterisk replace a colon?
For instance, in:
zstyle ':completion:*:*:-redirect-,2>,*:*' file-patterns '*.log'
zstyle ':completion:*:*:kill:*' verbose no
zstyle ':completion:*:default' menu ...
zstyle ':completion:*:sudo::' environ [...]
zstyle ':completion::complete:cd:*' tag-order [...]
zstyle ':completion:*:*:rm:*' file-patterns [...]
zstyle ':completion:*:*:-command-:*' group-order [...]
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*:complete:*' matcher-list [...]
etc.
which have one or several missing colons. This is from the
zshcompsys(1) man page.
If an asterisk can match anything, there may be an ambiguity on
which field some given word will match.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author