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

Re: Globbing question




On Sep 16, 2004, at 10:20 AM, Oliver Kiddle wrote:

I wouldn't say it is a nuisance. You can use the file-patterns style
instead to add glob qualifiers where _files is used for completing
files.

_path_files is used for completing files in this case, however. What we
need to ask is why someone should want to complete non-executable files
in command position. (I assume it may be related to suffix aliases). The
necessary change may then be simple. Or at least it would be if the
whole _autocd, _cd stuff wasn't very complicated.

Oliver

Maybe I misunderstood the "What we need to ask is why someone should want to complete non-executable files in command position" statement, but what I'm trying to do is have non-executable files which happen to be in my $path *not* be completed.

Thanks.



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