summaryrefslogtreecommitdiffstats
path: root/watch-bz
diff options
context:
space:
mode:
Diffstat (limited to 'watch-bz')
-rwxr-xr-xwatch-bz3
1 files changed, 2 insertions, 1 deletions
diff --git a/watch-bz b/watch-bz
index 920a5f2..022f54e 100755
--- a/watch-bz
+++ b/watch-bz
@@ -45,8 +45,9 @@ PRECOLORIZE=cat
COLORIZE=cat
if watch --color -n0.1 -g date &>/dev/null; then
WATCHCMD='watch --color'
+ #PRECOLORIZE="sed -u"
PRECOLORIZE="sed"
- PRECOLORIZE+=" -e 's|\( [NAPMQDVRC] \)\(.*\)\([\{]${BZUSER}[\}]\)|\x1b[1;31m\1\x1b[0m\2|'"
+ PRECOLORIZE+=" 's|\( [NAPMQDVRC] \)\(.*\)\([\{]${BZUSER}[\}]\)|\x1b[1;31m\1\x1b[0m\2|'"
COLORIZE="sed"
COLORIZE+=" -e 's|\([0-9.A-Z]\++[, ]\)|\x1b[1;32m\1\x1b[0m|g'"
COLORIZE+=" -e 's|\([0-9.A-Z]\+-[, ]\)|\x1b[33m\1\x1b[0m|g'"