summaryrefslogtreecommitdiff
path: root/functions/colors.zsh
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2018-01-31 00:44:27 +0300
committerGitHub <noreply@github.com>2018-01-31 00:44:27 +0300
commitfd3d2343547b07d74cb102dd843f8a54d9e0b79f (patch)
tree28cee1fde54fb0871f06822501ad55122298e765 /functions/colors.zsh
parent8090d13962dd3f8b3341f39314503477ce582bf9 (diff)
parentf994a7c3491487252070590b4e05ddaa17ef48f1 (diff)
Merge pull request #681 from Stazer/tcolor-warning
Added flag to ignore checking the term colors & lang settings
Diffstat (limited to 'functions/colors.zsh')
-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