clear screen
This commit is contained in:
@@ -15,6 +15,10 @@ if ! command -v inotifywait >/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
if [ -t 1 ]; then
|
||||||
|
clear 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
|
||||||
( "$@" ) || echo "$script_name: command exited with status $?" >&2
|
( "$@" ) || echo "$script_name: command exited with status $?" >&2
|
||||||
inotifywait --quiet --recursive --event close_write,move,create,delete . >/dev/null
|
inotifywait --quiet --recursive --event close_write,move,create,delete . >/dev/null
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user