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

Re: can't set HISTFILE to /dev/null



On Jun 24,  9:54am, Peter Stephenson wrote:
}
} Using /dev/null was never a supported method of turning *off* history
} saving

Seems to me it was more likely intended to turn off history *loading*.
SAVEHIST=0 won't do that, nor will HISTSIZE=0 (though it'll all get
thrown away after loading in the latter case).

However, the right way is to unset HISTFILE, not set it to /dev/null.



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