summaryrefslogtreecommitdiff
path: root/internal/icons.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/icons.zsh')
-rw-r--r--internal/icons.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh
index 5baf1c2d..7e919cd1 100644
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -643,9 +643,9 @@ 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
+ if (( ! $+__p9k_locale )); then
_p9k_init_locale
- [[ -z $_p9k__locale ]] || local LC_ALL=$_p9k__locale
+ [[ -z $__p9k_locale ]] || local LC_ALL=$__p9k_locale
fi
_p9k_init_icons
local var=POWERLEVEL9K_$1
@@ -663,9 +663,9 @@ function print_icon() {
# overrides into account.
function get_icon_names() {
eval "$__p9k_intro"
- if (( ! $+_p9k__locale )); then
+ if (( ! $+__p9k_locale )); then
_p9k_init_locale
- [[ -z $_p9k__locale ]] || local LC_ALL=$_p9k__locale
+ [[ -z $__p9k_locale ]] || local LC_ALL=$__p9k_locale
fi
_p9k_init_icons
local key