diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2022-08-09 17:28:30 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2022-08-09 17:28:30 -0700 |
commit | 1a6dcd017dbf564058a729032de3db139fcf9c7e (patch) | |
tree | e8dad70ff1450f9d7ff9e76510304648108bee56 /lib/misc.zsh | |
parent | 6e0a7765188ef970d738108d11eaecc7b79a5f5e (diff) | |
parent | 97134d1eed19b72a9c4bf90a2effa847221608bf (diff) | |
download | zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.tar.gz zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.tar.bz2 zsh-1a6dcd017dbf564058a729032de3db139fcf9c7e.zip |
Merge branch 'master' of https://github.com/ohmyzsh/ohmyzsh
Diffstat (limited to 'lib/misc.zsh')
-rw-r--r-- | lib/misc.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/misc.zsh b/lib/misc.zsh index a5d3af998..1f637083a 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -24,10 +24,10 @@ env_default 'LESS' '-R' ## super user alias alias _='sudo ' -## more intelligent acking for ubuntu users +## more intelligent acking for ubuntu users and no alias for users without ack if (( $+commands[ack-grep] )); then alias afind='ack-grep -il' -else +elif (( $+commands[ack] )); then alias afind='ack -il' fi |