]> Sergey Matveev's repositories - schwabrak.git/blobdiff - list
Respect NO_COLOR
[schwabrak.git] / list
diff --git a/list b/list
index 836fd60623cb5f8d14b49311de7f86e4fc19ee866f02e750764773c975aaa121..1a47c52497cb557d2ece3c5d321d6b209dab6ac4429174ff41c7b8d5c2fa8662 100755 (executable)
--- 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