mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-01-22 22:45:37 +01:00
fix prompt_char (never showed error); unify options
This commit is contained in:
parent
98c614b851
commit
a9715367d4
6 changed files with 62 additions and 92 deletions
|
|
@ -1,8 +1,3 @@
|
|||
emulate -L zsh
|
||||
setopt noaliases
|
||||
|
||||
() {
|
||||
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}
|
||||
|
|
@ -1902,5 +1897,3 @@ change_zshrc || return
|
|||
print -rP ""
|
||||
flowing +c File feature requests and bug reports at "$(href https://github.com/romkatv/powerlevel10k/issues)."
|
||||
print -rP ""
|
||||
|
||||
} "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue