[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't just hold down ^K to clean up history
From: |
Greg Wooledge |
Subject: |
Re: can't just hold down ^K to clean up history |
Date: |
Wed, 16 Oct 2013 09:43:38 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Oct 16, 2013 at 08:53:27PM +0800, jidanni@jidanni.org wrote:
> We use ^P^P^P^P^P^P^P... to finally get to the top of the mess.
... why would you do that? Also, how is this a bug?
> Then we must use ^K^N^K^N^K^N^K^N^K^N^K^N... to clean it up.
>
> However this leaves many blank lines in history!
Why not just edit the history FILE after you've exited the shell (or
issued a "history -a" command, or something)? Then you can use whatever
editing method is most convenient.