From 87988cea26253a7b9b7918e7bc6304550b3a5e6f Mon Sep 17 00:00:00 2001 From: Christian Höltje Date: Fri, 19 Jan 2018 22:06:01 -0500 Subject: 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(-) (limited to 'functions') 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 -- cgit v1.2.3