diff options
Diffstat (limited to 'scripts/.scripts/watch')
-rwxr-xr-x | scripts/.scripts/watch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/.scripts/watch b/scripts/.scripts/watch new file mode 100755 index 0000000..b40c0af --- /dev/null +++ b/scripts/.scripts/watch @@ -0,0 +1,12 @@ +#!/bin/bash +command=$@ + +clear + +while true +do + eval "$command" + sleep 1 + echo -n -e "$clearline" + clear +done |