summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2015-06-12 11:55:54 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2015-06-12 11:55:54 -0400
commitb2b609b005539b496bdea399cc6e92c56621365a (patch)
treea18b35bf4cabda65aa8991ec63eaa36e5bd3766a /zshrc
parent469587683506993a2b972098b168843dad62a658 (diff)
Add ack=ack-grep alias.
Diffstat (limited to 'zshrc')
-rwxr-xr-xzshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index cc026b9..35fd036 100755
--- a/zshrc
+++ b/zshrc
@@ -24,6 +24,10 @@ if ! zgen saved; then
zgen save
fi
+if (( $+commands[ack-grep] )) ; then
+ alias ack=ack-grep
+fi
+
# Emacs-like editor
bindkey -e
export WORDCHARS=''