mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
set prompt_subst when printing ruler; see #444
This commit is contained in:
parent
14868da64a
commit
5de4142517
1 changed files with 1 additions and 0 deletions
|
@ -5218,6 +5218,7 @@ function _p9k_on_expand() {
|
|||
local -i _p9k_clm=COLUMNS _p9k_ind=${ZLE_RPROMPT_INDENT:-1}
|
||||
(( __p9k_ksh_arrays )) && setopt ksh_arrays
|
||||
(( __p9k_sh_glob )) && setopt sh_glob
|
||||
setopt prompt_subst
|
||||
print -rnP -- '%b%k%f%E'$ruler
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue