From 6fb9993251ee0a7fb3ee4fc2df0da39fba3f57e2 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Sat, 21 Mar 2015 00:32:40 +0100 Subject: [PATCH] fix ohmyzsh issue --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) 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 #################