about summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 05c0378..1f2baac 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -23,10 +23,10 @@ alias egrep="egrep $grep_opts"
 alias fgrep="fgrep $grep_opts"
 unset grep_opts
 
-if command -v exa &>/dev/null; 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
+elif ls --color &> /dev/null; then
 	# gnu ls
 	alias ls='ls --color=auto'
 	alias ll='ls -l --almost-all --no-group --human-readable'