mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-22 08: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:
parent
7fa82f6cea
commit
8214de3d65
|
@ -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 $@
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user