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:
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}
|
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…
Reference in a new issue