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

Re: [PATCH] Add CORRECT_IGNORE_NAME for file names pattern ignored during CORRECT_ALL



On Fri, 25 Apr 2014 09:01:49 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Apr 24,  6:05pm, Tomoki Sekiyama wrote:
> }
> } When CORRECT_ALL is enabled, spell checking for file names may suggest
> } unwanted correction for command arguments.
> } 
> } With this patch, we can avoid this by set CORRECT_IGNORE_NAME shell variable
> } to '.*', that means dotfile names shouldn't be suggested.
> 
> 
> No particular argument against this except the usual recent one about
> continuing to clutter up the parameter namespace.
> 
> I do wonder if CORRECT_IGNORE_FILE or CORRECT_ALL_IGNORE or even
> CORRECT_FIGNORE might be better names for the shell variable.  Opinions?

I was going to suggest CORRECT_IGNORE_FILE, or maybe even
ZSH_CORRECT_IGNORE_FILE to use the pseudo-namespace we've got with many
recent parameters (making them inconsistent with older ones).

pws



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