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 #######################################################