From 8dab54a65a713d7bf661bc966e58c7e8ecf9c408 Mon Sep 17 00:00:00 2001 From: NeodarZ Date: Wed, 23 Aug 2017 20:35:04 +0200 Subject: Add some cool script --- scripts/.scripts/watch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/.scripts/watch (limited to 'scripts/.scripts/watch') 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 -- cgit v1.2.1