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

Re: command recall



On Sat, Feb 6, 2021 at 8:37 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> Actually it would be cool to
> be able to quickly toggle that on or off, so I could have a terminal
> isolated from global history or not as I choose.

If you zsh "A" has
  setopt incappendhistory
and zsh "B" has
  setopt sharehistory
then A will have only its local history, and B will have the history
from both itself and A.




Messages sorted by: Reverse Date, Date, Thread, Author