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

Re: PATCH: _path_files -g



In article <200001121525.QAA02658@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> The patch below implements this behaviour and replaces
> ignored-suffixes with ignored-patterns.

I found a problem with ignored-patterns.

Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D 
is27e1u11% zstyle ":completion*::vi:*" ignored-patterns \*\?.bbl \*\?.blg 
is27e1u11% touch zz.{tex,bbl,blg}
is27e1u11% ls zz.*   
zz.bbl  zz.blg  zz.tex
is27e1u11% vi zz.b<TAB>

The last <TAB> just removes the word `zz.b' instead of listing files.
-- 
Tanaka Akira



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