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

Re: Can zsh `else` reserved keyword command be aliased and the lexem itself be repurposed as `fi` keyword command?



On 29/12/17 05:07 PM, Bart Schaefer wrote:
On Fri, Dec 29, 2017 at 3:45 PM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
Mathieu wants execution to begin as soon as there is
some code in the buffer, without waiting for the final keyword to
appear.
Not-so-incidentally, the fact that zsh does NOT do this is one of the
primary reasons that zsh exists at all.  Paul Falstad found it
distasteful that csh DOES that, and set out to create a shell that had
the interactive advantages of csh while preserving the separation of
parse and execution as found in sh and ksh.

Cool!  These insights from history are so very illuminating.  Mind ... that would seem to make it all the more possible/acceptable to do what Mathieu wants, it'd be a compatibility featurenot some sort of abominable novelty the way my suggestions are abominable novelties.


setopt csh_parsing ?




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