added oh-my-ssh back as raw code, not as a submodule.
This commit is contained in:
parent
23fe3ee6d5
commit
f663947bfc
1195 changed files with 126994 additions and 0 deletions
16
.zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh
Normal file
16
.zsh/oh-my-zsh/plugins/kitty/kitty.plugin.zsh
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue