Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
sync history between sessions without entering 'history' command
- X-seq: zsh-users 13887
- From: "Ye, Jianye" <yejianye@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: sync history between sessions without entering 'history' command
- Date: Mon, 9 Mar 2009 21:22:11 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=zqhIDg3cu/9vHBp5dRsqJx8Wy0bzP94tut7gNuZN/rs=; b=QYk3pR2k/pX0s+eFJ129oWORZDSrXojfr9ur8tPFZYSAtQMVxAhCTuqG6Fao83lU2M lIWIx0n2SPY+qHjCxo3SaX/2e8k5Qcfk/gU60wZTlqPQ05yO+uWvHJiETg4Qhb4GDyJE lR1PWV7fmLudihQjWq1dPw97PyfQr/dvM46ok=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=s2nTErMie5Vi/VDnYdBZi8T279imaTWxqn9An2XH7WYUk3x+ATfE4xttW8xo8c3hpp IjDPi5Nwvw56TenHzUrd9G/+4T3cTbEh952xGYQc4uKcVkBhTHUsTTmEcbDA+rIpQwvt SMbnf5cCohkiGdiBPUdRxbxgREU6OuaZI+Wu8=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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 ?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author