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

Re: sync history between sessions without entering 'history' command



2009/3/9 Angel Olivera <redondos@xxxxxxxxxxx>
On Mon 09.Mar.09 21:22, Ye, Jianye wrote:
My .zshrc ---------------------------------------------------------------------- setopt INC_APPEND_HISTORY SHARE_HISTORY setopt APPEND_HISTORY setopt EXTENDED_HISTORY HISTFILE=$HOME/.zhistory HISTSIZE=1000 SAVEHIST=1000 ---------------------------------------------------------------------- When I have multiple sessions opened, each session could only see its local history until I enter 'history' or 'fc -R' command in any session. So, I need enter 'fc -R' from time to time to sync-up history. It's quite annoying. Any way to make history sync happen automatically ?

Aren't INC_APPEND_HISTORY and APPEND_HISTORY mutually exclusive? Try commenting out the latter.

--

I've commented out 'append_history'. But still the same.


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