mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 13:20:07 +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:
parent
920ab071cb
commit
2d9df4468f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue