diff --git a/config.fish b/config.fish index 8075fcb..c912c9a 100644 --- a/config.fish +++ b/config.fish @@ -21,8 +21,8 @@ end function _set_env if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-kitty" ] - alias ssh="TERM=xterm-256color $(which ssh)" - alias gg="TERM=xterm-256color $(which gg)" + which ssh > /dev/null 2>&1 && alias ssh="TERM=xterm-256color $(which ssh)" + which gg > /dev/null 2>&1 && alias gg="TERM=xterm-256color $(which gg)" end set -x VIRTUAL_ENV_DISABLE_PROMPT set -x PF_INFO "ascii title os host kernel uptime memory de"