diff options
Diffstat (limited to 'dot_config/zsh')
-rw-r--r-- | dot_config/zsh/aliasrc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dot_config/zsh/aliasrc b/dot_config/zsh/aliasrc index d76be18..37a6f17 100644 --- a/dot_config/zsh/aliasrc +++ b/dot_config/zsh/aliasrc @@ -65,7 +65,7 @@ alias \ 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 +# Use the SSH kitten when possible. (but not already in SSH) +if [ "$TERM" = "xterm-kitty" ] && [ -z "$SSH_TTY" ]; then + alias sshs='sshs -t "kitten ssh \"{{{name}}}\""' +fi
\ No newline at end of file |