From 93c49104155039d6f6efee7c698e6bf42cd30c1a Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 28 Oct 2024 10:04:55 -0500 Subject: Use the SSH kitten when using kitty Signed-off-by: Matt Strapp --- dot_config/zsh/aliasrc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3