diff options
author | Marc Cornellà <marc.cornella@live.com> | 2018-09-24 18:52:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 18:52:11 +0200 |
commit | 14fead09641c17eb87e573e13b3c750bb98ea8cf (patch) | |
tree | 0944d505a883be9b789b8ec6893bb1281b7b29c8 | |
parent | 150a3c9c834d824bdea5c8755963790e3c8efded (diff) | |
download | zsh-14fead09641c17eb87e573e13b3c750bb98ea8cf.tar.gz zsh-14fead09641c17eb87e573e13b3c750bb98ea8cf.tar.bz2 zsh-14fead09641c17eb87e573e13b3c750bb98ea8cf.zip |
vi-mode: disable displayed mode on startup
This change had the unintended consequence of overriding the functions to ensure
that application mode was set to use $terminfo sequences, introduced in #6449.
Fixes #7137
-rw-r--r-- | plugins/vi-mode/vi-mode.plugin.zsh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh index 6cadd166a..93964594b 100644 --- a/plugins/vi-mode/vi-mode.plugin.zsh +++ b/plugins/vi-mode/vi-mode.plugin.zsh @@ -4,11 +4,6 @@ function zle-keymap-select() { zle -R } -# Ensures that MODE_INDITCATOR is displayed on terminal start up. -function zle-line-init() { - zle reset-prompt -} - # Ensure that the prompt is redrawn when the terminal size changes. TRAPWINCH() { zle && { zle -R; zle reset-prompt } |