From b2403a488091ae0d9c37c1005c56e695dc6b970c Mon Sep 17 00:00:00 2001 From: Paul Melnikow Date: Fri, 3 Mar 2017 21:01:19 -0500 Subject: [PATCH] Restore the parser status to PS2 --- modules/editor/init.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index 389a5c80f4..ae95898019 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -124,8 +124,9 @@ function zle-line-init { echoti smkx fi - # Update editor information. - zle editor-info + # https://github.com/zsh-users/prezto/issues/4 + # Don't update editor info as it causes %_ (the parser status) not to be + # correctly rendered in prompts. } zle -N zle-line-init