From 87988cea26253a7b9b7918e7bc6304550b3a5e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=B6ltje?= Date: Fri, 19 Jan 2018 22:06:01 -0500 Subject: [PATCH] getColor() must always print result This was causing colors specified as numbers to not be shown. --- functions/colors.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/colors.zsh b/functions/colors.zsh index 253de7cb..7a748ab3 100644 --- a/functions/colors.zsh +++ b/functions/colors.zsh @@ -40,8 +40,8 @@ function getColor() { # color not found, so try to get the code 1=$(getColorCode $1) fi - echo -n "$1" fi + echo -n "$1" } # empty paramenter resets (stops) background color