Permalink
Browse files

Adding helper for ack

  • Loading branch information...
1 parent 46bb3d0 commit 7164a8307bbd9f0cf0625294b5697e3f22153120 @demonbane committed Aug 19, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 bash-helpers
View
@@ -33,10 +33,16 @@ fi
alias be='bundle exec'
alias nocomm="egrep -v '^[[:space:]]*(#|$)'"
+
+if ! which ack > /dev/null && which ack-grep > /dev/null; then
+ alias ack="`which ack-grep`"
+fi
+
if ls --version &>/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 7164a83

Please sign in to comment.