diff --git a/aliases.zsh b/aliases.zsh index 4b2a669b..cffdadc6 100644 --- a/aliases.zsh +++ b/aliases.zsh @@ -1,4 +1,4 @@ alias nvimdiff="nvim -d" alias pvim="poetry run nvim" alias lg="lazygit" -alias kssh="kitty +kitten ssh" +[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"