diff --git a/zshrc b/zshrc index d2d9f54..5a25a75 100644 --- a/zshrc +++ b/zshrc @@ -49,6 +49,11 @@ bindkey -a '^R' redo bindkey '^?' backward-delete-char bindkey '^H' backward-delete-char + +TRAPWINCH() { + zle && { zle reset-prompt; zle -R } +} + ################## # Source Things #################