From: Angel Olivera <redondos@twat.com.ar>
To: zsh-users@sunsite.dk
Subject: Re: sync history between sessions without entering 'history' command
Date: Mon, 9 Mar 2009 14:33:38 +0100 [thread overview]
Message-ID: <20090309133336.GF27602@thruster.twat.com.ar> (raw)
In-Reply-To: <291b78b50903090622t79a78e26o870f5a848e65020c@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
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.
--
redondos
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 489 bytes --]
next prev parent reply other threads:[~2009-03-09 13:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-09 13:22 Ye, Jianye
2009-03-09 13:33 ` Angel Olivera [this message]
2009-03-09 14:21 ` Ye, Jianye
2009-03-09 15:16 ` Benjamin R. Haskell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090309133336.GF27602@thruster.twat.com.ar \
--to=redondos@twat.com.ar \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).