From fff41b8d398de5538f5addc383750565f98747fe Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 7 Jan 2023 01:06:08 -0500 Subject: [PATCH] fish: Always use kitty ssh --- fish/.config/fish/config.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 72b1c06e..10c86089 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -76,6 +76,11 @@ alias tree="exa --group-directories-first --long --tree -I 'node_modules|.git|pu # Prevent accidents alias mv="mv -i" +# Always use kitty ssh since it's our default terminal +if string match -qe -- "/dev/pts/" (tty) + alias ssh="kitty +kitten ssh" +end + # Abbreviations are aliases that expand if not set -q set_abbr set -U set_abbr