keep history of queries (non-persis.)
This commit is contained in:
6
src/sh/history.sh
Normal file
6
src/sh/history.sh
Normal 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
|
||||
Reference in New Issue
Block a user