diff options
author | Alen <alen@dotfiles.xyz> | 2025-01-19 04:25:56 +0400 |
---|---|---|
committer | Alen <alen@dotfiles.xyz> | 2025-01-19 04:25:56 +0400 |
commit | 46063f39c85be0918fada149ce7981021dc117b9 (patch) | |
tree | 0c1512dca025b148434ff6af62ac1243e304cfa3 /dot_config/zsh | |
parent | a8851bd7120db9e99ff8911748a3e4cab077fa64 (diff) |
Prefer eza over unmaintained exa
Diffstat (limited to 'dot_config/zsh')
-rw-r--r-- | dot_config/zsh/alias.zsh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dot_config/zsh/alias.zsh b/dot_config/zsh/alias.zsh index 1f9f194..e25cdd8 100644 --- a/dot_config/zsh/alias.zsh +++ b/dot_config/zsh/alias.zsh @@ -23,7 +23,10 @@ fi alias h='history 1 | tail -r | bat --style=plain --language=zsh' # Set up ls aliases -if which exa &>/dev/null; then +if which eza &>/dev/null; then + alias ls='eza --classify --group-directories-first --git' + alias tree='eza --classify --group-directories-first --git --tree --git-ignore' +elif which exa &>/dev/null; then alias ls='exa --classify --group-directories-first --git' alias tree='exa --classify --group-directories-first --git --tree --git-ignore' elif which lsd &>/dev/null; then |