Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bug: can't write history file



On Tue, Oct 24, 2006 at 04:17:40PM +0200, Dmitry Karasik wrote:
> I found that it is savehistfile() to blame, because it apparently is
> called with writeflags=0, which bypasses all append/rewrite logic

This is as it should be, because that code is re-writing the history
file to trim it.  As long as you use HIST_APPEND or SHARE_HISTORY, the
history from a root session should be added to the file -- just the
rewrite at the end will be skipped.

..wayne..



Messages sorted by: Reverse Date, Date, Thread, Author