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

Re: [bug] history corrupt on utf8



On Jun 22, 2013 7:07 PM, "Mikael Magnusson" <mikachu@xxxxxxxxx> wrote:
>
> The history file isn't saved verbatim, since the command line can
> contain non-utf8, nuls, etc.

To be more specific, the history file is saved in the same format used to
represent history lines internally, except for prefixing newlines with
backslash.  The file is only "corrupted" if zsh itself can't re-read it.
We gave up on sharing history files with other shells a long time ago.


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