clear screen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user