be more tolerant towards misconfigured locales; users with non-utf-8 locales will still have broken shells but at least p10k will work

This commit is contained in:
romkatv 2019-08-05 20:23:30 +02:00
commit 59e96984a1
5 changed files with 67 additions and 55 deletions

View file

@ -5,6 +5,7 @@ setopt noaliases
() {
setopt extended_glob no_prompt_{bang,subst} prompt_{cr,percent,sp}
local LC_ALL=C.UTF-8
typeset -g __p9k_root_dir
typeset -gi force=0