mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
shot in the dark
This commit is contained in:
parent
af9c7adfd0
commit
8f2fae5a38
1 changed files with 2 additions and 3 deletions
|
@ -2255,10 +2255,10 @@ _p9k_init() {
|
||||||
typeset -gi _P9K_ENABLED=0
|
typeset -gi _P9K_ENABLED=0
|
||||||
|
|
||||||
prompt_powerlevel9k_setup() {
|
prompt_powerlevel9k_setup() {
|
||||||
setopt nopromptbang prompt{cr,percent,sp,subst}
|
|
||||||
|
|
||||||
prompt_powerlevel9k_teardown
|
prompt_powerlevel9k_teardown
|
||||||
|
|
||||||
|
setopt nopromptbang prompt{cr,percent,sp,subst}
|
||||||
|
|
||||||
add-zsh-hook precmd powerlevel9k_prepare_prompts
|
add-zsh-hook precmd powerlevel9k_prepare_prompts
|
||||||
add-zsh-hook preexec powerlevel9k_preexec
|
add-zsh-hook preexec powerlevel9k_preexec
|
||||||
|
|
||||||
|
@ -2267,7 +2267,6 @@ prompt_powerlevel9k_setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt_powerlevel9k_teardown() {
|
prompt_powerlevel9k_teardown() {
|
||||||
emulate -L zsh
|
|
||||||
add-zsh-hook -D precmd powerlevel9k_\*
|
add-zsh-hook -D precmd powerlevel9k_\*
|
||||||
add-zsh-hook -D preexec powerlevel9k_\*
|
add-zsh-hook -D preexec powerlevel9k_\*
|
||||||
PROMPT='%m%# '
|
PROMPT='%m%# '
|
||||||
|
|
Loading…
Reference in a new issue