zsh-users
 help / color / mirror / code / Atom feed
From: "Ye, Jianye" <yejianye@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: sync history between sessions without entering 'history' command
Date: Mon, 9 Mar 2009 22:21:23 +0800	[thread overview]
Message-ID: <291b78b50903090721u271902e8w2da05c2aed6c6899@mail.gmail.com> (raw)
In-Reply-To: <20090309133336.GF27602@thruster.twat.com.ar>

[-- Attachment #1: Type: text/plain, Size: 861 bytes --]

2009/3/9 Angel Olivera <redondos@twat.com.ar>

> 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.

[-- Attachment #2: Type: text/html, Size: 1354 bytes --]

  reply	other threads:[~2009-03-09 14:21 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
2009-03-09 14:21   ` Ye, Jianye [this message]
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=291b78b50903090721u271902e8w2da05c2aed6c6899@mail.gmail.com \
    --to=yejianye@gmail.com \
    --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).