From 4db2eb0e1607e6b4d8097a5feb178f25357cb1c9 Mon Sep 17 00:00:00 2001 From: Justus Flerlage Date: Sat, 25 Nov 2017 01:43:30 +0100 Subject: Added flag for checking the term colors --- functions/colors.zsh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions/colors.zsh') diff --git a/functions/colors.zsh b/functions/colors.zsh index 253de7cb..8029c727 100644 --- a/functions/colors.zsh +++ b/functions/colors.zsh @@ -7,6 +7,10 @@ ################################################################ function termColors() { + if [[ $POWERLEVEL9K_CHECK_TERM_COLORS == false ]]; then + return + fi + local term_colors if which tput &>/dev/null; then -- cgit v1.2.3