Files
not-much-fuzz/src/sh/history.sh
2026-03-17 14:00:07 +01:00

9 lines
160 B
Bash

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