$HISTFILE
–
History File
$HISTFILE
defines where an interactive shell saves the history when it exits.
The history is not saved if this variable is unset.
Links
BashSupport Pro is a Zsh IDE with support for $HISTFILE – try it now!