[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
1 changed files with 8 additions and 0 deletions

View File

@ -1 +1,9 @@
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