From b4d22fc49f0fe98476991e1eca626f96373e9b22 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 9 Mar 2021 19:19:08 +0000 Subject: [PATCH] Remove guake workaround --- zshrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/zshrc b/zshrc index 0d35e5d..e99bbd0 100644 --- a/zshrc +++ b/zshrc @@ -138,17 +138,13 @@ if [[ `uname` = Linux ]]; then [[ -n ${key[End]} ]] && bindkey "${key[End]}" end-of-line fi -# Get the shells parent process name. -ppid_name() { echo $(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=) } - # Enable changing cursor shape based on vi mode if [ "$ITERM_PROFILE" != "" ] && [ "$TMUX" = "" ]; then # iTerm2 cursor shape escape sequences outside tmux cursor_block="\e]50;CursorShape=0\C-G" cursor_line="\e]50;CursorShape=1\C-G" -elif [ "$(ppid_name)" != "python2" ]; then - # iTerm2 inside tmux or VTE compatible cursor shape escape sequences, - # exclude Guake even though it's VTE based it doesn't like these +else + # iTerm2 inside tmux or VTE compatible cursor shape escape sequences. cursor_block="\e[2 q" cursor_line="\e[6 q" fi