diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-20 14:31:29 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-20 14:31:29 +0300 |
commit | 891090acc412bab786adce2b0c6b0b33bfeb273e (patch) | |
tree | ae949e235c774197871047eb37962ed400371b52 /internal/icons.zsh | |
parent | 9ce0a0551e4e19680e622b5cf1afd17f2d47ce13 (diff) |
make locale workarounds more robust
Diffstat (limited to 'internal/icons.zsh')
-rw-r--r-- | internal/icons.zsh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh index 7e919cd1..afdee1e8 100644 --- a/internal/icons.zsh +++ b/internal/icons.zsh @@ -643,10 +643,6 @@ function _p9k_init_icons() { # Sadly, this is a part of public API. Its use is emphatically discouraged. function print_icon() { eval "$__p9k_intro" - if (( ! $+__p9k_locale )); then - _p9k_init_locale - [[ -z $__p9k_locale ]] || local LC_ALL=$__p9k_locale - fi _p9k_init_icons local var=POWERLEVEL9K_$1 if (( $+parameters[$var] )); then @@ -663,10 +659,6 @@ function print_icon() { # overrides into account. function get_icon_names() { eval "$__p9k_intro" - if (( ! $+__p9k_locale )); then - _p9k_init_locale - [[ -z $__p9k_locale ]] || local LC_ALL=$__p9k_locale - fi _p9k_init_icons local key for key in ${(@kon)icons}; do |