Skip to content

Commit

Permalink
Fix 'ack-grep' bug for non-ubuntu users
Browse files Browse the repository at this point in the history
Redirect STDERR along with STDOUT when looking for ack-grep
  • Loading branch information
swvjeff committed Oct 4, 2015
1 parent 920ab07 commit 2d9df44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/misc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d9df44

Please sign in to comment.