Fix 'ack-grep' bug for non-ubuntu users

Redirect STDERR along with STDOUT when looking for ack-grep
This commit is contained in:
Jeff Smith 2015-10-03 18:39:41 -07:00
parent 920ab071cb
commit 2d9df4468f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ alias _='sudo'
alias please='sudo'
## more intelligent acking for ubuntu users
if which ack-grep > /dev/null;
if which ack-grep &> /dev/null;
then
alias afind='ack-grep -il'
else