diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-20 10:31:53 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-20 10:31:53 +0300 |
commit | 9ce0a0551e4e19680e622b5cf1afd17f2d47ce13 (patch) | |
tree | 6a1d4df06cd8c78f4565f9cdbb387f28f0f3522f /powerlevel10k.zsh-theme | |
parent | 8a845210b59b4a4a9c581277872c1d832fc90803 (diff) |
attempt to make locale workarounds more robust
Diffstat (limited to 'powerlevel10k.zsh-theme')
-rw-r--r-- | powerlevel10k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel10k.zsh-theme b/powerlevel10k.zsh-theme index ee6b38bf..d9ded15a 100644 --- a/powerlevel10k.zsh-theme +++ b/powerlevel10k.zsh-theme @@ -24,13 +24,13 @@ local -a match mbegin mend reply local -i MBEGIN MEND OPTIND local MATCH REPLY OPTARG IFS=$'\'' \t\n\0'\'' - [[ -z $_p9k__locale ]] || local LC_ALL=$_p9k__locale' + [[ -z $__p9k_locale ]] || local LC_ALL=$__p9k_locale' # The same as above but without `local -a reply` and `local REPLY`. typeset -gr __p9k_intro_no_reply='emulate -L zsh -o no_hist_expand -o extended_glob -o no_prompt_bang -o prompt_percent -o no_prompt_subst -o no_aliases -o no_bg_nice -o typeset_silent local -a match mbegin mend local -i MBEGIN MEND OPTIND local REPLY OPTARG IFS=$'\'' \t\n\0'\'' - [[ -z $_p9k__locale ]] || local LC_ALL=$_p9k__locale' + [[ -z $__p9k_locale ]] || local LC_ALL=$__p9k_locale' } () { |