Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#749969: history no longer syncs immediately, INC_APPEND_HISTORY broken
- X-seq: zsh-workers 32646
- From: Wayne Davison <wayne@xxxxxxxxxxxxxxx>
- To: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: Bug#749969: history no longer syncs immediately, INC_APPEND_HISTORY broken
- Date: Sat, 31 May 2014 23:05:28 -0700
- Cc: Zsh list <zsh-workers@xxxxxxx>, 749969-forwarded@xxxxxxxxxxxxxxx, Peter Palfrader <weasel@xxxxxxxxxx>, Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=thedavisons.net; h= mime-version:in-reply-to:references:from:date:message-id:subject :to:cc:content-type; s=thedavisons.net; bh=7PLvR55VMLpdDO2hRThsH SRWfW8=; b=byDI7yMOAgeg1ztW7CNdsE3YVPMuK3reJLjIGpYCGGYMvNmcPAlEA nb44qX1uTkoiJE9kBlAKmxbehWWUHlKjitW4HZV80jLWLtgzC6VKTQgYbVecvTa2 UUg3B+rppiq+1x9tfAovBAb0Vv2R8SMdLhvxX14b0+GgXh66cc7uHA=
- In-reply-to: <87d2eu5mmg.fsf@ft.bewatermyfriend.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20140531074936.GA9011@valiant.palfrader.org> <87d2eu5mmg.fsf@ft.bewatermyfriend.org>
On Sat, May 31, 2014 at 2:21 AM, Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
wrote:
> I think to enable both ways to be possible, there should be two options:
> INC_APPEND_HISTORY that enables the original behaviour and (if the name
> is agreeable) DELAY_INC_APPEND_HISTORY, that amends the behaviour of the
> original option in the way that is reflected by the current behaviour.
>
You should just be able to setopt SHARE_HISTORY to have zsh always append
the entry early. Of course, that also has the effect of the shell
importing the shared history from other shells, so it's nice to have things
like up/down arrow set to only browse local history (while things like
search look in the shared history). There was a fairly recent discussion
of up-line-or-local-history() functions and a discussion of making
everything local except for isearch functions.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author