1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 13:11:39 +01:00

zsh: add watchc function

this allows for watching a process while highlighting its output
with `grc`
This commit is contained in:
bretello 2024-06-18 11:31:12 +02:00
parent 7fa82f6cea
commit 8214de3d65
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -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 $@
}