improve bash alias for ssh/termius compatibility
parent
cfefe9a22d
commit
8193a279c5
|
@ -1,5 +1,9 @@
|
|||
if which exa > /dev/null 2>&1 ; then
|
||||
alias ls="exa --icons -F -g"
|
||||
if [ -z "$SSH_CLIENT" ] ; then
|
||||
alias ls="exa --icons -F -g"
|
||||
else
|
||||
alias ls="exa --no-icons -F -g"
|
||||
fi
|
||||
else
|
||||
alias ls="ls --color=auto"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue