summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@openwide.fr>2010-06-03 16:39:22 +0200
committerHugues Hiegel <hugues.hiegel@openwide.fr>2010-06-03 16:39:22 +0200
commit8b8b4c281e65a2c7882a2260a56b6bf71bc99f6e (patch)
tree08b47a127aa7e39bf5fd336a06dfbb49f2d3ca32
parent34c02a83073900eb87311299807f57abaeb64c59 (diff)
[Funcs] corrects the cmd_exists test
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
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()