From: Sergey Matveev Date: Sun, 4 Sep 2022 17:39:06 +0000 (+0300) Subject: Reset (green) cursor colour before command is executed X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=1363c5755693333dd03bbf893936048973b4c998 Reset (green) cursor colour before command is executed After visual editing, cursor colour stays red. --- diff --git a/zsh/.zsh/rc/015prompt.zsh b/zsh/.zsh/rc/015prompt.zsh index abd2502..194cdd5 100644 --- a/zsh/.zsh/rc/015prompt.zsh +++ b/zsh/.zsh/rc/015prompt.zsh @@ -31,6 +31,7 @@ zle -N zle-line-init zle -N zle-keymap-select preexec() { + printf "\e]12;green\e\\" SECONDS=0 }