summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions/colors.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/colors.zsh b/functions/colors.zsh
index 7a748ab3..f421165c 100644
--- a/functions/colors.zsh
+++ b/functions/colors.zsh
@@ -7,6 +7,10 @@
################################################################
function termColors() {
+ if [[ $POWERLEVEL9K_IGNORE_TERM_COLORS == true ]]; then
+ return
+ fi
+
local term_colors
if which tput &>/dev/null; then