aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-27 18:06:41 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-27 18:06:41 +0300
commit5de41425177b8b316b627d4563ba88a6ddf80bdf (patch)
tree6cb14cea1960f378dc2750e8da13711f9df0efc8 /internal/p10k.zsh
parent14868da64a97a2055290d71e5bc8661c4cc9449f (diff)
set prompt_subst when printing ruler; see #444
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index c0cf2371..cc599017 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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