|
|
|
@ -1625,6 +1625,8 @@ NEWLINE='
|
|
|
|
|
[[ $POWERLEVEL9K_PROMPT_ADD_NEWLINE == true ]] && PROMPT="$NEWLINE$PROMPT"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
set_default POWERLEVEL9K_IGNORE_TERM_COLORS false
|
|
|
|
|
set_default POWERLEVEL9K_IGNORE_TERM_LANG false
|
|
|
|
|
prompt_powerlevel9k_setup() {
|
|
|
|
|
# The value below was set to better support 32-bit CPUs.
|
|
|
|
|
# It's the maximum _signed_ integer value on 32-bit CPUs.
|
|
|
|
@ -1647,6 +1649,7 @@ prompt_powerlevel9k_setup() {
|
|
|
|
|
termColors
|
|
|
|
|
|
|
|
|
|
# If the terminal `LANG` is set to `C`, this theme will not work at all.
|
|
|
|
|
if [[ $POWERLEVEL9K_IGNORE_TERM_LANG == false ]]; then
|
|
|
|
|
local term_lang
|
|
|
|
|
term_lang=$(echo $LANG)
|
|
|
|
|
if [[ $term_lang == 'C' ]]; then
|
|
|
|
@ -1655,6 +1658,7 @@ prompt_powerlevel9k_setup() {
|
|
|
|
|
print -P "\t%F{red}WARNING!%f _before_ loading this theme in your \~\.zshrc. Putting"
|
|
|
|
|
print -P "\t%F{red}WARNING!%f %F{blue}export LANG=\"en_US.UTF-8\"%f at the top of your \~\/.zshrc is sufficient."
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
defined POWERLEVEL9K_LEFT_PROMPT_ELEMENTS || POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir rbenv vcs)
|
|
|
|
|
defined POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS || POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time)
|
|
|
|
|