diff --git a/functions/misc.zsh b/functions/misc.zsh index 82c1c75..60fd2d4 100755 --- a/functions/misc.zsh +++ b/functions/misc.zsh @@ -333,3 +333,8 @@ function watch_file() { set -m # restore job control messages } } + +# use watch and force color with grc +function watchc() { + watch --differences --interval 1 --color grc --colour=on $@ +}