1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

set prompt_subst when printing ruler; see #444

This commit is contained in:
romkatv 2020-01-27 16:06:41 +01:00
parent 14868da64a
commit 5de4142517

View file

@ -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