Skip to content

history_file

builtin · libnexusinterp/corefcn/nx-hist-proprietary.cc

: file = history_file ()
: history_file (new_file)
: old = history_file (new_file)

Query or set the file used to persist command history across sessions.

The default is $XDG_DATA_HOME/nexus/history (or the path in NEXUS_HISTFILE). Setting the value updates the in-session history backend so a later history -w / clean shutdown writes there.