Command history in zsh
Posted
by
Art
on Super User
See other posts from Super User
or by Art
Published on 2012-04-10T23:34:20Z
Indexed on
2012/04/14
17:32 UTC
Read the original article
Hit count: 278
zsh
|command-history
Currently I have zsh set up in such a way that command history is shared between all sessions immediately.
Say I have a terminal emulator open with two tabs, each with a zsh session, A1 and A2. If I enter ls -la in A1, and then go to A2 and press up arrow key, I will see ls -la in the command prompt.
I would like to change it so sessions don't share the command history with each other although when you start new session it gets all the previous history from all sessions before it.
© Super User or respective owner