set prompt_subst when printing ruler; see #444

pull/445/head
romkatv 5 years ago
parent 14868da64a
commit 5de4142517

@ -5218,6 +5218,7 @@ function _p9k_on_expand() {
local -i _p9k_clm=COLUMNS _p9k_ind=${ZLE_RPROMPT_INDENT:-1} local -i _p9k_clm=COLUMNS _p9k_ind=${ZLE_RPROMPT_INDENT:-1}
(( __p9k_ksh_arrays )) && setopt ksh_arrays (( __p9k_ksh_arrays )) && setopt ksh_arrays
(( __p9k_sh_glob )) && setopt sh_glob (( __p9k_sh_glob )) && setopt sh_glob
setopt prompt_subst
print -rnP -- '%b%k%f%E'$ruler print -rnP -- '%b%k%f%E'$ruler
} }
fi fi

Loading…
Cancel
Save