From: Simon Ruderich <simon@ruderich.org>
To: zsh-users@zsh.org
Subject: Re: Append cancelled commands to history
Date: Mon, 5 Apr 2010 21:36:05 +0200 [thread overview]
Message-ID: <20100405193605.GA21377@ruderich.org> (raw)
In-Reply-To: <20090706154309.GA15663@fermat.math.technion.ac.il>
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
On Mon, Jul 06, 2009 at 06:43:09PM +0300, Nadav Har'El wrote:
> On Mon, Jul 06, 2009, Vadim Zeitlin wrote:
>> 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?
I totally overlooked that mail.
Yes, -r is definitely a good idea, it fixed some trouble I had
with whitespace.
Thanks,
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2010-04-05 19:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-18 21:50 thomasg
2008-09-19 16:20 ` Simon Ruderich
2009-07-06 15:16 ` Re[2]: " Vadim Zeitlin
2009-07-06 15:43 ` Nadav Har'El
2009-07-06 15:53 ` Nadav Har'El
2010-03-15 16:42 ` Nadav Har'El
2010-03-20 17:50 ` Bart Schaefer
2010-03-22 8:42 ` Nadav Har'El
2010-03-22 15:07 ` Bart Schaefer
2010-03-24 10:27 ` Nadav Har'El
2010-03-24 16:19 ` Bart Schaefer
2010-03-26 20:23 ` Nadav Har'El
2010-03-27 4:23 ` Bart Schaefer
2010-04-05 19:36 ` Simon Ruderich [this message]
2009-07-07 19:49 ` Simon Ruderich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100405193605.GA21377@ruderich.org \
--to=simon@ruderich.org \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).