Browse Source

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

Redirect STDERR along with STDOUT when looking for ack-grep
Jeff Smith 9 years ago
parent
commit
2d9df4468f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/misc.zsh

+ 1 - 1
lib/misc.zsh

@@ -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