mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 18:20:07 +00:00
don't set prompt_sp
Some users prefer to hide the last line of command output if it doesn't end in \n. Powerlevel10k should respect their choice. See #197.
This commit is contained in:
parent
61f5552c98
commit
8ace14beb0
1 changed files with 3 additions and 2 deletions
|
@ -3262,8 +3262,9 @@ _p9k_precmd() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unsetopt localoptions
|
unsetopt localoptions
|
||||||
prompt_opts=(cr percent sp subst)
|
prompt_opts=(cr percent subst)
|
||||||
setopt nopromptbang prompt{cr,percent,sp,subst}
|
[[ ! -o prompt_sp ]] || prompt_opts+=sp
|
||||||
|
setopt nopromptbang prompt{cr,percent,subst}
|
||||||
|
|
||||||
_p9k_timer_end=EPOCHREALTIME
|
_p9k_timer_end=EPOCHREALTIME
|
||||||
if (( _p9k_timer_start )); then
|
if (( _p9k_timer_start )); then
|
||||||
|
|
Loading…
Reference in a new issue