Skip to content

Commit a77f161

Browse files
committed
Revert "Use TRAPCHLD function to refresh prompt"
This reverts commit 9a8f9b6.
1 parent 267822d commit a77f161

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

agkozak-zsh-prompt.plugin.zsh

-9
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ AGKOZAK[FUNCTIONS]='_agkozak_debug_print
124124
_agkozak_set_git_psvars
125125
_agkozak_zle-keymap-select
126126
TRAPWINCH
127-
TRAPCHLD
128127
_agkozak_vi_mode_indicator
129128
_agkozak_load_async_lib
130129
_agkozak_has_usr1
@@ -517,14 +516,6 @@ TRAPWINCH() {
517516
zle && zle -R
518517
}
519518

520-
############################################################
521-
# Redraw the prompt when the background jobs count changes
522-
############################################################
523-
TRAPCHLD() {
524-
psvar[11]=${${(%):-%j}#0}
525-
zle && zle reset-prompt
526-
}
527-
528519
############################################################
529520
# For legacy custom prompts: print a vi mode indicator
530521
############################################################

0 commit comments

Comments
 (0)