From 43205208b1362a4ccdc01ccc788cffba522e912d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 21 Sep 2019 21:10:25 +0300 Subject: [PATCH] kiss: better colors --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index e95dd48..5f54a86 100755 --- a/kiss +++ b/kiss @@ -19,8 +19,8 @@ log() { # '${3:-->}': If the 3rd argument is missing, set prefix to '->'. # '${2:+[1;33m}': If the 2nd argument exists, set the text style of '$1'. # '${2:+[m}': If the 2nd argument exists, reset text formatting. - printf '\033[1;32m%s \033[m%s\033[m %s\n' \ - "${3:-->}" "${2:+}$1${2:+}" "$2" + printf '\033[1;33m%s \033[m%s\033[m %s\n' \ + "${3:-->}" "${2:+}$1${2:+}" "$2" } die() {