From 8b8b4c281e65a2c7882a2260a56b6bf71bc99f6e Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 3 Jun 2010 16:39:22 +0200 Subject: [Funcs] corrects the cmd_exists test --- 01_Functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_Functions.zsh b/01_Functions.zsh index 6d7bf24..874e146 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -19,7 +19,7 @@ cmd_exists () { - whereis -b $1 >/dev/null 2>&1 + which -p $1 >/dev/null 2>&1 } term_title() -- cgit v1.2.3