From 47104f27af3ae4da121bf271d8a489562e05da81 Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 8 Mar 2020 19:43:47 +0100 Subject: [PATCH] functions: add watchgrc --- functions.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions.sh b/functions.sh index 5306c17..7c7616a 100755 --- a/functions.sh +++ b/functions.sh @@ -32,6 +32,12 @@ function dockertags done } +# watch with grc enabled +function watchgrc +{ + watch -n 1 -c grc --colour=on "$@" +} + ## Simple calculator. Usage: calc 1+1, calc 5/7, calc "sqrt(2)" function calc {