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 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?



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