Users can still set $HISTFILE if they want to and this will be used instead. If no value is specified it will default to the $ZDIR/transient/history file.