Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: do; not saved in history?
- X-seq: zsh-workers 25376
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: do; not saved in history?
- Date: Sat, 02 Aug 2008 20:25:03 -0700
- In-reply-to: <237967ef0808021830v60e3d3f9w6dd2a949d8f139ac@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0808021830v60e3d3f9w6dd2a949d8f139ac@xxxxxxxxxxxxxx>
On Aug 3, 3:30am, Mikael Magnusson wrote:
}
} what?
Same thing happens for "done", "esac", "else", "fi", and "end". These
are reserved words that cannot appear in command position, so although
the syntax error is reported as being "near ;" the real error is before
the command even gets started, and hence there's nothing to put into
the history.
This also happens for "}".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author