1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-21 21:30:09 +00:00

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

View file

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