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

Re: Append cancelled commands to history



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