Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 3.1.7-pre-1: fignore is mishandled by _files
- X-seq: zsh-workers 10920
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: 3.1.7-pre-1: fignore is mishandled by _files
- Date: Tue, 25 Apr 2000 15:22:54 +0000
- In-reply-to: <200004251103.NAA03819@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200004251103.NAA03819@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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