diff --git a/zsh/.zprofile b/zsh/.zprofile index 58d8eabb..64268c8a 100755 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -79,6 +79,11 @@ path_append \ # # unfunction _prepath # unfunction _postpaths +# +────────+ +# │ LOCALE │ +# +────────+ +(( $+commands[locale] )) && local loc=(${(@M)$(locale -a):#*.(utf|UTF)(-|)8}) +(( $#loc )) && export LC_ALL=${loc[(r)(#i)C.UTF(-|)8]:-${loc[(r)(#i)en_US.UTF(-|)8]:-$loc[1]}} # +──────────────+ # │ CONFIG PATHS │ # +──────────────+