summaryrefslogtreecommitdiff
path: root/dotfiles-darwin/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles-darwin/zsh')
-rw-r--r--dotfiles-darwin/zsh/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/dotfiles-darwin/zsh/rc b/dotfiles-darwin/zsh/rc
index 3b0931d..940fe77 100644
--- a/dotfiles-darwin/zsh/rc
+++ b/dotfiles-darwin/zsh/rc
@@ -3,7 +3,6 @@
autoload -Uz vault
alias df='df -Ph'
-alias ls='ls -G'
alias pbclear='pbcopy </dev/null'
alias rsync='rsync --exclude=.DS_Store'
@@ -11,6 +10,10 @@ if command_exists container; then
alias co=container
fi
+if ! command_exists eza; then
+ alias ls='ls -G'
+fi
+
if command_exists gls; then
alias lsh='gls -Shrs'
else