aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2018-01-20 06:06:01 +0300
committerChristian Höltje <docwhat@gerf.org>2018-01-20 06:06:01 +0300
commit87988cea26253a7b9b7918e7bc6304550b3a5e6f (patch)
treef1c4e3555d1144c42e4af6bd4716e6e3568c6ae0 /functions
parentfabc473381e8390c9b968ea050231f404dbfab84 (diff)
getColor() must always print result
This was causing colors specified as numbers to not be shown.
Diffstat (limited to 'functions')
-rw-r--r--functions/colors.zsh2
1 files changed, 1 insertions, 1 deletions
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