Hi, There is a minor typo in the documentation of EXTENDED_HISTORY. According to Src/hist.c the following syntax is used for EXTENDED_HISTORY: ret = fprintf(out, ": %ld:%ld;", (long)he->stim, But the documentation says this: :<beginning time>:<elapsed seconds>:<command> So the last : must be a ; and there is a space after the first : (or the source code is wrong). diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 003071a..e9c8ff9 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -746,7 +746,7 @@ Save each command's beginning timestamp (in seconds since the epoch) and the duration (in seconds) to the history file. The format of this prefixed data is: -`tt(:)var(<beginning time>)tt(:)var(<elapsed seconds>)tt(:)var(<command>)'. +`tt(:) var(<beginning time>)tt(:)var(<elapsed seconds>)tt(;)var(<command>)'. ) pindex(HIST_ALLOW_CLOBBER) pindex(NO_HIST_ALLOW_CLOBBER) Thanks, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
Attachment:
pgpFlqs7w5i9S.pgp
Description: PGP signature