Added flag for checking the term colors

This commit is contained in:
Justus Flerlage
2018-01-07 21:34:46 +01:00
parent fabc473381
commit 4db2eb0e16
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -7,6 +7,10 @@
################################################################
function termColors() {
if [[ $POWERLEVEL9K_CHECK_TERM_COLORS == false ]]; then
return
fi
local term_colors
if which tput &>/dev/null; then