Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Append cancelled commands to history
- X-seq: zsh-users 14222
- From: "Nadav Har'El" <nyh@xxxxxxxxxxxxxxxxxxx>
- To: Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx>
- Subject: Re: Append cancelled commands to history
- Date: Mon, 6 Jul 2009 18:43:09 +0300
- Cc: zsh-users@xxxxxxxxxx
- Hebrew-date: 15 Tammuz 5769
- In-reply-to: <20090706151644.6BF508027106@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <c16a574a0809181450t61a5b5ddq2e80797fde37636e@xxxxxxxxxxxxxx> <20080919162045.GA22435@xxxxxxxxxxxx> <20090706151644.6BF508027106@xxxxxxxxxxxxxxxxxx>
On Mon, Jul 06, 2009, Vadim Zeitlin wrote about "Re[2]: Append cancelled commands to history":
> zle && print -s -- $BUFFER
I wonder, isn't "-r" also wise to add, otherwise if you have escape sequences
like "\n", "\c", etc., in your command line, they will be modified by the
print command?
--
Nadav Har'El | Monday, Jul 6 2009, 15 Tammuz 5769
nyh@xxxxxxxxxxxxxxxxxxx |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |echo '[q]sa[ln0=aln256%Pln256/snlbx]
http://nadav.harel.org.il |sb3135071790101768542287578439snlbxq'|dc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author