Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Unexpected side effect of 'setopt correct'
- X-seq: zsh-workers 23744
- From: "Matt Wozniski" <godlygeek@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Unexpected side effect of 'setopt correct'
- Date: Sun, 5 Aug 2007 22:36:38 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=awhcZrM38F/LUGQBpv9JI2csrnhnkl9kJpbe9U0CQISW16DQ6FcUGokDMmjEDlxCB1hyR3EGnkQBS5UYo2qhjWH2rto8C6LeKua9Lcy35ZhCY2KQp+7xsE56mL+y9il8yf50YCO2TdbHNyyLLpb/LnZ74npLCviZdXgByW12N08=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PWYC0UAI/VlDjng4pvCM5r/F22gIN8EiHGFMu/r9x5Og8TnBfyaLj92kFtejEmp5Aqwho/AYKlhRQUSx+sVrFxmxyASV3T6OCavbZYJR2Z3Z/LEU8r9EJ9hKpV2/SlCK2lOHZX+nQ2bIOz7AJ0/W0WgQ3jOQGmZUtR6zU/GAWOw=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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