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

Re: 3.1.7-pre-1: fignore is mishandled by _files



On Apr 25,  1:03pm, Sven Wischnowsky wrote:
} Subject: Re: 3.1.7-pre-1: fignore is mishandled by _files
}
} > _path_files attempts to use $fignore, but only if no -g options were passed.
} > However, _files *always* passes a -g option to _path_files, so in the one
} > case where one might expect fignore to work without extra configuration --
} > default file completions -- it fails to do so.
} 
} But it explicitly uses $fignore when the pattern is `*'. And it works
} for me with `zsh -f', setting $fignore and doing `ls <TAB>'.
} 
} Could you give me an example where it fails to do what you want?

It's apparently this style that's causing me trouble:

    zstyle ':completion:*' file-sort modification reverse

If _path_files is going to check for a pattern of `*', it needs to do so
with any globbing flags first stripped off.  Ouch.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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