mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
survive emulate sh; fixes #226
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ emulate -L zsh
|
||||
setopt noaliases
|
||||
|
||||
() {
|
||||
setopt extended_glob no_prompt_{bang,subst} prompt_{cr,percent,sp} typeset_silent
|
||||
setopt extended_glob no_prompt_{bang,subst} prompt_percent typeset_silent
|
||||
zmodload zsh/langinfo
|
||||
if [[ ${langinfo[CODESET]:-} != (utf|UTF)(-|)8 ]]; then
|
||||
local LC_ALL=${${(@M)$(locale -a):#*.(utf|UTF)(-|)8}[1]:-en_US.UTF-8}
|
||||
|
||||
Reference in New Issue
Block a user