mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-03-03 18:27:54 +00:00
set prompt_subst when printing ruler; see #444
This commit is contained in:
parent
14868da64a
commit
5de4142517
@ -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 New Issue
Block a user