diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-10-28 10:04:55 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-10-28 10:04:55 -0500 |
commit | 93c49104155039d6f6efee7c698e6bf42cd30c1a (patch) | |
tree | 84d76f6a9685cecc3c70bfc91b6558b6551560a1 | |
parent | Add gradle to XDG (diff) | |
download | dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.gz dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.bz2 dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.lz dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.xz dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.tar.zst dotfiles-93c49104155039d6f6efee7c698e6bf42cd30c1a.zip |
Use the SSH kitten when using kitty
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r-- | dot_config/zsh/aliasrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_config/zsh/aliasrc b/dot_config/zsh/aliasrc index b1f0af8..8b7001e 100644 --- a/dot_config/zsh/aliasrc +++ b/dot_config/zsh/aliasrc @@ -61,3 +61,8 @@ alias \ z="zathura" alias adb='HOME="$XDG_DATA_HOME"/android adb' + +# Use the SSH kitten when possible. +if [ "$TERM" = "xterm-kitty" ]; then + alias sshs='sshs -t "kitten ssh \"{{{name}}}\""' +fi
\ No newline at end of file |