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

Unexpected side effect of 'setopt correct'



I just noticed this effect of 'setopt correct'.. Is this intentional behavior?

~> zsh -f
mastermind% setopt correct
mastermind% pid() {
zsh: correct 'pid' to 'pic' [nyae]? %


mastermind% function pid() {
function>
mastermind%

Is it intentional that it attempts to correct on a function
definition?  Is it intentional that it only attempts to correct one of
the two types of function definition?  Something about this behavior
caught me off guard.  :)

~Matt



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