do not use icons over ssh (helpful for termius)

main
Andrew Coleman 2023-01-13 08:16:59 -05:00
parent 23aebf4732
commit 1f3a680b71
1 changed files with 1 additions and 5 deletions

View File

@ -1,9 +1,5 @@
if which exa > /dev/null 2>&1 ; then
if [ -z "$SSH_CLIENT" ] ; then
alias ls="exa --icons -F -g"
else
alias ls="exa --no-icons -F -g"
fi
alias ls="exa --icons -F -g"
else
alias ls="ls --color=auto"
fi