fix homessh alias

This commit is contained in:
timoxa0 2025-01-20 11:35:56 +05:00
parent 52efbf92b7
commit f8b774295e

View file

@ -44,10 +44,12 @@ function _set_aliases
if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-kitty" ] if [ "$TERM" = "foot" ] || [ "$TERM" = "xterm-kitty" ]
if which ssh > /dev/null 2>&1 if which ssh > /dev/null 2>&1
alias ssh="TERM=xterm-256color $(which ssh)" alias ssh="TERM=xterm-256color $(which ssh)"
alias homessh="ssh -p 48001 tx0.su"
end end
which gg > /dev/null 2>&1 && alias gg="TERM=xterm-256color $(which gg)" which gg > /dev/null 2>&1 && alias gg="TERM=xterm-256color $(which gg)"
end end
if which ssh > /dev/null 2>&1
alias homessh="ssh -p 48001 tx0.su"
end
if which eza > /dev/null 2>&1 if which eza > /dev/null 2>&1
alias ls="eza --icons=auto" alias ls="eza --icons=auto"
else if which exa > /dev/null 2>&1 else if which exa > /dev/null 2>&1