zsh-workers
 help / color / mirror / code / Atom feed
* Unexpected side effect of 'setopt correct'
@ 2007-08-06  2:36 Matt Wozniski
  2007-08-13 20:07 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Wozniski @ 2007-08-06  2:36 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-13 21:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-06  2:36 Unexpected side effect of 'setopt correct' Matt Wozniski
2007-08-13 20:07 ` Peter Stephenson
2007-08-13 20:42   ` Matt Wozniski
2007-08-13 21:24     ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).