From: Sergey Matveev Date: Thu, 14 Mar 2024 14:50:37 +0000 (+0300) Subject: Respect NO_COLOR X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=bd2fe14d927e6c093f4bdb9f6190889757ddc503c70157e0644f50da84ad9c1a;p=schwabrak.git Respect NO_COLOR http://no-color.org/ --- diff --git a/list b/list index 836fd60..1a47c52 100755 --- a/list +++ b/list @@ -43,7 +43,7 @@ for issue (issues/**/created) { print -n `cat issues/$issue/created`\\t$issue\\t print $tagsTheir } | sort -r | { - if command -v spc > /dev/null 2> /dev/null ; then + if [[ -z "$NO_COLOR" ]] && command -v spc > /dev/null 2> /dev/null ; then spc -e grn,"^..................." -e cya," [^ ]*$" -e red," .*\/" else cat