Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle messes up 'words' variable?
On May 5, 5:48pm, Felipe Contreras wrote:
} Subject: Re: zle messes up 'words' variable?
}
} On Wed, May 4, 2011 at 3:56 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
} > Hence the scope where my patch added typeset -h is only correct place
} > outside the the function called as $OPTARG where words can become non-
} > special without changing the arguments passed by that function call.
}
} You are right, however, it does work in git[1].
Just to be sure no one is confused by that "however" ...
It works in the referenced git example and in your new example because
in those new examples it's _inside_ the function called as $OPTARG.
This thread already has enough miscommunication over scoping. :-)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author