Files
ohmyzsh/plugins/kitty/kitty.plugin.zsh
Ian Chesal 1e5b5013a3 A plugin for the Kitty terminal
Provides a handful of useful aliases for anyone working in a Kitty
terminal. In particular, the kssh command is handy for ensuring that
terminfo is set correctly on remote hosts when  you ssh to them.
2022-06-15 10:03:31 -04:00

14 lines
608 B
Bash

#####################################################
# Kitty plugin for oh-my-zsh #
#####################################################
# 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"
# 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"