On 7/11/15 12:43 PM, isabella parakiss wrote: > When the value of HISTCONTROL is ignoredups or ignoreboth, if you enter > a command and then open the editor and add lines to it without changing > the first line, only the first line will be stored in the history. > > I'm terrible at explaining, but I recorded what happens: > https://asciinema.org/a/23275 > Hopefully it's clear enough, I'm pressing up arrow to get that line. > > I tested a few versions and I can reproduce it in 3.1 and above.
Yes, `fc -e' doesn't save commands in the history, and it's tough to keep the right parser state on the fly like that. That may get fixed someday. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/