From 4c1e9edfbd9aad754747c8018d6bfb3749dd638d Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Tue, 28 Feb 2017 19:00:31 +0100 Subject: [PATCH] Do not call `editor-info` in `zle-line-finish` --- modules/editor/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index f1260021..131e248c 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -153,8 +153,8 @@ function zle-line-finish { echoti rmkx fi - # Update editor information. - zle editor-info + # Editor info is not updated as it causes unnecessary refresh in previous prompt. + # See discussion here: https://github.com/zsh-users/prezto/pull/17 } zle -N zle-line-finish