From 1eb69e9a795cc19450178c07d8d382622bc7ad70 Mon Sep 17 00:00:00 2001 From: Pedro Pereira Date: Fri, 16 Oct 2026 15:19:13 -0300 Subject: first commit --- .config/zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .config/zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh (limited to '.config/zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh') diff --git a/.config/zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh b/.config/zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh new file mode 100644 index 0000000..1094236 --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh @@ -0,0 +1,16 @@ +##################################################### +# Kitty plugin for oh-my-zsh # +##################################################### + +if [[ "$TERM" == 'xterm-kitty' ]]; then + ## kssh + # Use this when your terminfo isn't recognized on remote hosts. + # See: https://sw.kovidgoyal.net/kitty/faq/#i-get-errors-about-the-terminal-being-unknown-or-opening-the-terminal-failing-when-sshing-into-a-different-computer + alias kssh="kitty +kitten ssh" + compdef kssh='ssh' + # Use this if kssh fails + alias kssh-slow="infocmp -a xterm-kitty | ssh myserver tic -x -o \~/.terminfo /dev/stdin" + + # Change the colour theme + alias kitty-theme="kitty +kitten themes" +fi -- cgit v1.3