summary refs log tree commit diff
path: root/dot_config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh')
-rw-r--r--dot_config/zsh/alias.zsh5
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