* On 07.03.2006 Harry Putnam wrote:

> Tim Kruse <[EMAIL PROTECTED]> writes:
> 
>>  I love zsh ;-)
>>
>> ,-----
>> | % setopt | grep -i "append.*history"
>> | incappendhistory
>> | % man zshoptions | col -b | grep -A 4 APPEND_HISTORY
>> |     APPEND_HISTORY <D>
>> |         If this is set, zsh sessions will append their history  list  to
>> |         the  history file, rather than overwrite it. Thus, multiple par-
>> |         allel zsh sessions will all have their history  lists  added  to
>> |         the history file, in the order they are killed.
>> |--
>> |     INC_APPEND_HISTORY
>> |         This options works like APPEND_HISTORY except that  new  history
>> |         lines  are added to the $HISTFILE incrementally (as soon as they
>> |         are entered), rather than waiting until  the  shell  is  killed.
>> |         The  file  is periodically trimmed to the number of lines speci-
>> |         fied by $SAVEHIST, but can exceed this value between  trimmings.
>> `-----
>
> I'd love it more if they bothered to tell you how to set this stuff.

 Like you set all options in zsh ...

setopt INC_APPEND_HISTORY  # incrementally append history to $HISTFILE

 So long,
tkr

-- 
A countryman between two lawyers is like a fish between two cats.
                -- Ben Franklin

Attachment: signature.asc
Description: PGP signature

Reply via email to