From 9ce0a0551e4e19680e622b5cf1afd17f2d47ce13 Mon Sep 17 00:00:00 2001 From: romkatv Date: Thu, 20 Feb 2020 08:31:53 +0100 Subject: attempt to make locale workarounds more robust --- powerlevel10k.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'powerlevel10k.zsh-theme') 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' } () { -- cgit v1.2.3