Skip to content
Browse files

Only attempt to colorize ls output on OSX

  • Loading branch information...
1 parent 87599ac commit 5b4b936484ab82c75468e4cd3662c14c02c043c3 James Martin committed Mar 30, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 bash_profile
View
4 bash_profile
@@ -13,7 +13,9 @@ export EDITOR=~/.scripts/vim
test -r /sw/bin/init.sh && . /sw/bin/init.sh
-alias ls='ls -G'
+if [ `uname` = "Darwin" ]; then
+ alias ls='ls -G'
+fi
alias ll='ls -h1'
alias l="ls -alsht"
alias t="tree -L 2"

0 comments on commit 5b4b936

Please sign in to comment.
Something went wrong with that request. Please try again.