From f8b774295e911e1e9f8087ffa39362486b58d08c Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Mon, 20 Jan 2025 11:35:56 +0500 Subject: [PATCH] fix homessh alias --- config.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.fish b/config.fish index 3e0196c..34fb1dc 100644 --- a/config.fish +++ b/config.fish @@ -44,10 +44,12 @@ function _set_aliases if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-kitty" ] if which ssh > /dev/null 2>&1 alias ssh="TERM=xterm-256color $(which ssh)" - alias homessh="ssh -p 48001 tx0.su" end which gg > /dev/null 2>&1 && alias gg="TERM=xterm-256color $(which gg)" end + if which ssh > /dev/null 2>&1 + alias homessh="ssh -p 48001 tx0.su" + end if which eza > /dev/null 2>&1 alias ls="eza --icons=auto" else if which exa > /dev/null 2>&1