diff --git a/bash.org b/bash.org index fac1c1c..2e59f3c 100644 --- a/bash.org +++ b/bash.org @@ -86,7 +86,7 @@ bind '"\e[B": history-search-forward' ** Kitty for SSH #+begin_src bash -[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh" +[ "$TERM" = "xterm-kitty" ] && [ -n "$KITTY_WINDOW_ID" ] && alias ssh="kitty +kitten ssh" #+end_src ** Aliases