From 1fde4e9add216a74e5026fb91d5a1c125c6be50d Mon Sep 17 00:00:00 2001 From: "flyingscorpio@pinebook-pro" Date: Fri, 8 May 2020 11:51:38 +0200 Subject: [PATCH] Disable kitty command if not kitty terminal --- dotfiles/bash/bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/bash/bashrc b/dotfiles/bash/bashrc index 0edcdcb..2931d14 100644 --- a/dotfiles/bash/bashrc +++ b/dotfiles/bash/bashrc @@ -55,6 +55,8 @@ fi eval "$(register-python-argcomplete schedule_timer)" -source <(kitty + complete setup bash) +case "$TERM" in + xterm-kitty) source <(kitty + complete setup bash);; +esac stty -ixon # Disable Ctrl-S and Ctrl-Q