From 588d82f009e9d94b67d73924944976314b55830d Mon Sep 17 00:00:00 2001 From: hjp Date: Sun, 6 Feb 2011 10:35:29 +0000 Subject: [PATCH] Make search for ack-grep quiet and use result. --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index b1de38e..ad67dc6 100644 --- a/.zshrc +++ b/.zshrc @@ -24,9 +24,9 @@ fi alias la='ls -alsF' alias cup='cvs -q update -d -P' alias digs='dig +nocomments +nostats +nocmd' -if whence ack-grep +if ack=`whence ack-grep` then - alias ack='ack-grep' + alias ack=$ack fi namedir(){