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

Minor annoyance with new `for' syntax



zsh$ for key val in ${(kv)options}
zsh: correct 'val' to 'cal' [nyae]? 

I don't think correction should apply there ... but it gets worse; answer
`a' to `abort' and:

zsh$ for key val in ${(kv)options}
zsh: correct 'val' to 'cal' [nyae]? 
for> 

Anything that you type at the `for> ' prompt will be ignored when zsh
finally reacts to the abort request, but it lets you enter the entire
do ... done body before it finally does abort.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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