From 46063f39c85be0918fada149ce7981021dc117b9 Mon Sep 17 00:00:00 2001 From: Alen Date: Sun, 19 Jan 2025 04:25:56 +0400 Subject: Prefer eza over unmaintained exa --- dot_config/zsh/alias.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dot_config/zsh') 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 -- cgit 1.4.1-2-gfad0