Merge pull request #681 from Stazer/tcolor-warning

Added flag to ignore checking the term colors & lang settings
This commit is contained in:
Ben Hilburn 2018-01-30 16:44:27 -05:00 committed by GitHub
commit fd3d234354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View file

@ -7,6 +7,10 @@
################################################################
function termColors() {
if [[ $POWERLEVEL9K_IGNORE_TERM_COLORS == true ]]; then
return
fi
local term_colors
if which tput &>/dev/null; then