2d9df4468f5650d0d16cc789c96d828fb0dff4aa
- Author
- Jeff Smith <jeff@selectwv.com>
- Committer
- Jeff Smith <jeff@selectwv.com>
- Date
Message
Fix 'ack-grep' bug for non-ubuntu users
Redirect STDERR along with STDOUT when looking for ack-grep
Diff
1diff --git a/lib/misc.zsh b/lib/misc.zsh
2index 223d61509d88baafc3d793d39401b241a6696d00..8ff076e77652f7d09557895ba7d39b27f2d97f47 100644
3--- a/lib/misc.zsh
4+++ b/lib/misc.zsh
5@@ -22,7 +22,7 @@ alias _='sudo'
6 alias please='sudo'
7
8 ## more intelligent acking for ubuntu users
9-if which ack-grep > /dev/null;
10+if which ack-grep &> /dev/null;
11 then
12 alias afind='ack-grep -il'
13 else