clear screen

This commit is contained in:
2026-11-30 17:18:04 +01:00
parent 5e6a665265
commit 64888f9b6a
+4
View File
@@ -15,6 +15,10 @@ if ! command -v inotifywait >/dev/null; then
fi
while true; do
if [ -t 1 ]; then
clear 2>/dev/null || true
fi
( "$@" ) || echo "$script_name: command exited with status $?" >&2
inotifywait --quiet --recursive --event close_write,move,create,delete . >/dev/null
done