From ae31073b9b5b516a309be6843d6c918f98209650 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 13 Jan 2013 16:27:39 -0800 Subject: [PATCH] Show colors in bsd for ls --- bash/aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/aliases b/bash/aliases index 883d53a..863f684 100644 --- a/bash/aliases +++ b/bash/aliases @@ -19,6 +19,9 @@ else # linux only alias alias push-to-player="rsync -recursive --verbose --times --modify-window=1 --delete $pods_dir `mount -l | awk '/podcasts/ {print $3}'`/podcast/" fi +if [[ `uname` == 'FreeBSD' ]]; then + alias ls='ls -G' +fi # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then