diff options
author | NeodarZ <neodarz@neodarz.net> | 2017-04-07 20:51:56 +0200 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2017-04-07 20:51:56 +0200 |
commit | 2e144b6f0be18596a51028302b29c4837ab56590 (patch) | |
tree | 4acef47bd7d1ee723b7c1cd94faa2d157b0c50b5 /scripts/.scripts/watch | |
parent | 1361c93f4fc25f777dada92803190ade737e8224 (diff) | |
download | dotfiles_ascii-2e144b6f0be18596a51028302b29c4837ab56590.tar.xz dotfiles_ascii-2e144b6f0be18596a51028302b29c4837ab56590.zip |
Add scripts for task management and a better watch command
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 |