From 4b03c7d9e00e999218708a7ae2032d3e73f35599 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Mon, 29 Jul 2019 13:27:27 -0700 Subject: [PATCH] Fix ls alias with grc. --- dotfiles/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 634a688..535e8f3 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -76,6 +76,9 @@ if command -v most >/dev/null 2>&1; then fi # Enable grc if we have it +if ls --version 2>&1 >/dev/null ; then + alias ls='ls --color -C' +fi [[ -s "/etc/grc.zsh" ]] && source /etc/grc.zsh # Load any local settings