From 183ebfe8dfcd261dab37777e4db9594b3fb8fcf2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 8 Jan 2017 14:19:53 -0500 Subject: [PATCH] shell/zsh (prompt): don't try to change cursorshape --- shell/zsh/prompt.zsh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/shell/zsh/prompt.zsh b/shell/zsh/prompt.zsh index 21f4de96..f8816f65 100644 --- a/shell/zsh/prompt.zsh +++ b/shell/zsh/prompt.zsh @@ -47,12 +47,8 @@ prompt_init() { # Updates cursor shape and prompt symbol based on vim mode zle-keymap-select() { case $KEYMAP in - vicmd) print -n -- "\E]50;CursorShape=0\C-G"; - PROMPT_SYMBOL=$N_MODE; - ;; # block cursor - main|viins) print -n -- "\E]50;CursorShape=1\C-G"; - PROMPT_SYMBOL=$I_MODE; - ;; # line cursor + vicmd) PROMPT_SYMBOL=$N_MODE ;; + main|viins) PROMPT_SYMBOL=$I_MODE ;; esac zle reset-prompt zle -R