From 10fad043ab5582b1e286f571ab3179ea21662fdc Mon Sep 17 00:00:00 2001 From: Alexander Bell Date: Sat, 5 Jul 2025 15:08:24 +0200 Subject: [PATCH] fix kitty issue with ssh --- .bashrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bashrc b/.bashrc index 5e1c7c9..4be650b 100644 --- a/.bashrc +++ b/.bashrc @@ -78,6 +78,12 @@ alias openports='netstat -nape --inet' alias p="ps aux | grep " alias topcpu="/bin/ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10" +# Use Kitty's ssh wrapper to automatically +# upload xterm-kitty terminfo to the server. +# This prevents errors like "Error opening terminal: +# xterm-kitty" when using SSH + crontab/vim. +alias ssh='kitty +kitten ssh' + ####################################################### # VARIABL EXPORTS #######################################################