diff options
author | Hugues Hiegel <hugues.hiegel@openwide.fr> | 2010-06-03 16:39:22 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@openwide.fr> | 2010-06-03 16:39:22 +0200 |
commit | 8b8b4c281e65a2c7882a2260a56b6bf71bc99f6e (patch) | |
tree | 08b47a127aa7e39bf5fd336a06dfbb49f2d3ca32 /01_Functions.zsh | |
parent | 34c02a83073900eb87311299807f57abaeb64c59 (diff) |
[Funcs] corrects the cmd_exists test
Diffstat (limited to '01_Functions.zsh')
-rw-r--r-- | 01_Functions.zsh | 2 |
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() |