Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
2d9df446
Commit
2d9df446
authored
Oct 03, 2015
by
Jeff Smith
Browse files
Fix 'ack-grep' bug for non-ubuntu users
Redirect STDERR along with STDOUT when looking for ack-grep
parent
920ab071
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/misc.zsh
View file @
2d9df446
...
@@ -22,7 +22,7 @@ alias _='sudo'
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment