aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-09 21:01:53 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-09 21:01:53 +0300
commitbbd5791aac2abc0f125dd83d2b76e159aa653c9a (patch)
tree94a26d46424519c97d6513023c8c3bdb1c59b2d5 /internal/p10k.zsh
parent9da0365dfbbe8facedde7c361ecb8bacf6a249f1 (diff)
pass fd to _p9k_restore_prompt
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 2c1a6749..815ed997 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5298,7 +5298,7 @@ function _p9k_on_widget_zle-line-finish() {
function _p9k_widget_hook() {
emulate -L zsh
setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst}
- (( _p9k__restore_prompt_fd )) && _p9k_restore_prompt
+ (( _p9k__restore_prompt_fd )) && _p9k_restore_prompt $_p9k__restore_prompt_fd
__p9k_reset_state=1
if (( $+_p9k__last_buffer )); then
local P9K_LASTBUFFER=$_p9k__last_buffer