Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: [zsh 4.0.1 bug] filename completion



>
> _cd doesn't even try to complete other directories if the prefix is the
> name of a cdable variable, which is arguably wrong.
>

I suspect it is part of more general problem. I have a feeling that handling
of exact match changed at some point near 4.0.1 release. Now zsh will prefer
exact match in any context while before I got menu selection ... and I am
sure none of my styles changed.

E.g. I have /usr/lib{,64s}/netlib. Attempt to complete /u/l/n always
completes /usr/lib/netlib. Styles are:

bor@itsrm2% zstyle -L
zstyle ':completion:*' completer _oldlist _complete _match
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*' format '%BCompleting %d%b'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' insert-unambiguous true
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the
character to insert%s'
zstyle ':completion:*' match-original both
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' '+r:|[._-]=** r:|=**'
zstyle ':completion:*' menu 'select=long-list' 'select=0'
zstyle ':completion:*' verbose true
zstyle :compinstall filename /home/bor/.zcompletion
zstyle ':completion:*:*:configure:*' tag-order 'options:-with:with\ options
options:-other:other\ options' 'options:-without:without\ options'
zstyle ':completion:*:options-with' ignored-patterns '^--with-*'
zstyle ':completion:*:options-without' ignored-patterns '^--without-*'
zstyle ':completion:*:options-other' ignored-patterns '--with(|out)-*'
zstyle ':completion:*' ambiguous true
zstyle ':completion:*' list-rows-first true
zstyle ':completion:*:processes' command '
        if (($EUID && !${+NUMERIC})); then
            ps -fu $EUID
        else
            ps -fe
        fi
'
-andrej



Messages sorted by: Reverse Date, Date, Thread, Author