about summary refs log tree commit diff
path: root/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index bc63b3b..404bbc7 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -70,8 +70,10 @@ alias egrep="egrep $grep_opts"
 alias fgrep="fgrep $grep_opts"
 unset grep_opts
 
-# perhaps time to switch to exa
-if ls --color 1>/dev/null 2>&1; then
+if command -v exa &>/dev/null; then
+	alias ls='exa'
+	alias ll='exa --long --header --all'
+elif ls --color 1>/dev/null 2>&1; then
     # gnu ls
     alias ls='ls --color=auto'
     alias ll='ls -l --almost-all --no-group --human-readable'