* Styles usage problem
@ 1999-12-23 16:14 Andrej Borsenkow
1999-12-23 22:20 ` Peter Stephenson
0 siblings, 1 reply; 2+ messages in thread
From: Andrej Borsenkow @ 1999-12-23 16:14 UTC (permalink / raw)
To: ZSH workers mailing list
I just discovered, that completion does not use completers I've just set up.
Look here:
bor@itsrm2% cat ~/.zsh-styles
compstyle '*' completer '_oldlist' '_complete' '_correct' '_approximate'
'_match'
...
but
bor@itsrm2% zstyle -L
zstyle ':completion:*' completer _complete
zstyle ':completion*' completer _oldlist _complete _correct _approximate _match
In other words, I told zsh to use specific completers in every case - but Zsh
installed it's own, "more specific" style - and simply ingnored my settings.
/andrej
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Styles usage problem
1999-12-23 16:14 Styles usage problem Andrej Borsenkow
@ 1999-12-23 22:20 ` Peter Stephenson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1999-12-23 22:20 UTC (permalink / raw)
To: ZSH workers mailing list
"Andrej Borsenkow" wrote:
> bor@itsrm2% zstyle -L
> zstyle ':completion:*' completer _complete
> zstyle ':completion*' completer _oldlist _complete _correct _approximate _mat
> ch
>
> In other words, I told zsh to use specific completers in every case - but Zsh
> installed it's own, "more specific" style - and simply ingnored my settings.
I fell foul of this, too. Maybe this is a case for use of the default tag
--- after all, there's nothing to stop you defining completers with the
pattern '*', and that should still take precedence over the supplied
default. Same probably applies to just about any zstyle supplied as a
default.
--
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-12-23 22:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-23 16:14 Styles usage problem Andrej Borsenkow
1999-12-23 22:20 ` Peter Stephenson
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).