keep history of queries (non-persis.)

This commit is contained in:
2026-03-11 22:55:34 +01:00
parent 08fca4fdf5
commit ad400e5fae

6
src/sh/history.sh Normal file
View File

@@ -0,0 +1,6 @@
if [ ! "${HISTORY_LOADED:-}" ]; then
export NMFHIST=$(mktemp)
touch "$NMFHIST"
trap 'rm -f "$NMFHIST"' EXIT INT
export HISTORY_LOADED=1
fi