From f1a5d217fcde261e3c5893186196a494b0c92e9f Mon Sep 17 00:00:00 2001 From: velvettear Date: Wed, 2 Oct 2024 16:01:18 +0200 Subject: [PATCH] update 'fujitsu' config --- zsh/conf.d/fujitsu | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zsh/conf.d/fujitsu b/zsh/conf.d/fujitsu index 113de9f..1937e0e 100755 --- a/zsh/conf.d/fujitsu +++ b/zsh/conf.d/fujitsu @@ -11,7 +11,7 @@ # author: Daniel Sommer # license: MIT -# ----- aliases ----- # +# ----- general aliases ----- # alias eza='eza --icons --group --time-style long-iso --octal-permissions --git' alias ls='eza' alias ll='eza --long' @@ -37,7 +37,11 @@ alias pfetch='printf "\n" && pfetch' alias fetch='pfetch' alias stats='pfetch' alias icat='kitten icat' -alias ssh='kitty +kitten ssh' + +# ----- non-ssh aliases ----- # +if [[ -n "$SSH_TTY" ]]; then + alias ssh='kitty +kitten ssh' +fi # ----- pfetch ----- # export PF_INFO="ascii title host kernel memory wm shell editor pkgs uptime palette"