Make ls alias compatible with exa
This commit is contained in:
parent
4f2bb48521
commit
d54841dc9e
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user