[zsh] Fix ls on macOS

This commit is contained in:
Alyxia Sother 2023-02-08 12:33:11 +01:00
parent c4e5eba65a
commit 9d05d65759
No known key found for this signature in database
GPG key ID: 01E16C4E775A37E4

View file

@ -1 +1,9 @@
alias welcome="welcome --extra-logos-dir $K_ZSH_DOTFILES/../script-resources/welcome/logos" alias welcome="welcome --extra-logos-dir $K_ZSH_DOTFILES/../script-resources/welcome/logos"
if (( _is_macos )); then
if command_exists exa; then
alias ls="exa --classify --group-directories-first"
else
alias ls="ls --group-directories-first --color=auto"
fi
fi