[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Migrating scrollback buffer/history?

From: Konstantin Svist
Subject: Re: Migrating scrollback buffer/history?
Date: Thu, 09 Jul 2015 15:02:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 07/09/2015 02:42 PM, tilt wrote:
> Konstantin Svist wrote on 09/07/2015 at 19:14 CEST:
>> Also, is there a way to migrate command history (guessing this is
>> probably more related to shell, not screen)
> In Bourne Again Shell, a "history migration" in bash from a "shell1"
> to a "shell2" process can be implemented by performing these steps
> (in strict chronological order):
>  shell1$ history -a # append new lines to .bash_history now
>  shell2$ history -n # read lines from .bash_history not already read

Very cool!
Any idea about same thing in zsh?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]