Permalink
Browse files

Include ls alias in helpers

  • Loading branch information...
1 parent 0b141dd commit 4ab7db9e2d8aa9fbc184f421f632be106d64eaa7 @demonbane committed Jan 29, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 bash-helpers
View
7 bash-helpers
@@ -33,3 +33,10 @@ fi
alias be='bundle exec'
alias nocomm="egrep -v '^[[:space:]]*(#|$)'"
+if ls --version 2>/dev/null; then
+ alias ls='ls -alh --color=always'
+else
+ # Probably on a BSD system, most likely a Mac
+ alias ls='ls -lhG'
+fi
+export LESS=-RX

0 comments on commit 4ab7db9

Please sign in to comment.