Make ls alias compatible with exa

This commit is contained in:
Paweł Płazieński 2024-09-04 12:19:07 +02:00
parent 4f2bb48521
commit d54841dc9e

View File

@ -5,6 +5,8 @@ if command-exists dircolors; then
fi
if command-exists eza; then
alias ls='eza --git --long --all --time-style long-iso'
elif command-exists exa; then
alias ls='exa --git --long --all --time-style long-iso'
else
LSOPTS="-lAvF --color=auto" # long mode, show all, natural sort, type squiggles, friendly sizes
alias ls="ls $LSOPTS"