summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2019-05-18 10:39:21 +0300
committerGitHub <noreply@github.com>2019-05-18 10:39:21 +0300
commit55d887c21e0355d0f891881ae7327ebdc0dfc09e (patch)
treecef27259cd2a65a0b8df8285882a018b6776ae33
parent54eb7c7decaaf8e889b0bfa6408ff10bfcb2d87a (diff)
parent6f399a902e071c84c2e36ad48bbd5d89a7b72e67 (diff)
Merge pull request #70 from towo/fix/lang-conditional
Work around an unknown bug (most likely in antigen)
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index a96a0b0e..96fac690 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -2402,7 +2402,7 @@ _p9k_init() {
fi
# If the terminal `LANG` is set to `C`, this theme will not work at all.
- if [[ $LANG == C && $POWERLEVEL9K_IGNORE_TERM_LANG == false ]]; then
+ if [[ $LANG == "C" && $POWERLEVEL9K_IGNORE_TERM_LANG == false ]]; then
print -P "\t%F{red}WARNING!%f Your terminal's 'LANG' is set to 'C', which breaks this theme!"
print -P "\t%F{red}WARNING!%f Please set your 'LANG' to a UTF-8 language, like 'en_US.UTF-8'"
print -P "\t%F{red}WARNING!%f _before_ loading this theme in your \~\.zshrc. Putting"