commit f574e49fe0293f01abe8bc15f595f3d844c20ec4
parent cf41adc29ebfef9a481d14216e6b162857f1a7d0
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 1 Dec 2015 22:54:02 -0800
Use -G option for ls on both FreeBSD and OS X
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.aliases b/.aliases
@@ -11,7 +11,7 @@ if [[ -x '/usr/bin/dircolors' || \
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
-elif [[ "$(uname)" == 'Darwin' ]]; then
+elif [[ "$(uname)" == FreeBSD || "$(uname)" == Darwin ]]; then
alias ls='ls -FG'
fi