summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-01-24 16:16:29 +0100
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-01-24 16:16:49 +0100
commit6eb31533615e06e7701c075398cafa13658c52fe (patch)
treee0755270d8f3a201f4c07f4f2eca731ecf03de09 /01_Functions.zsh
parentfae923152df350949fdd7823c6e50cf44aef46d9 (diff)
Revert "Calls internal zsh 'which' command"
This reverts commit 953e6e10a521c16dcadabb5bfcfda12d4d6cf559.
Diffstat (limited to '01_Functions.zsh')
-rw-r--r--01_Functions.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 3b49825..3f6f579 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -19,11 +19,11 @@
cmd_exists ()
{
- \which -p $1 >/dev/null 2>&1
+ which -p $1 >/dev/null 2>&1
}
git () {
- GIT=$(\which -p git)
+ GIT=$(which -p git)
case $1 in
init|clone|config)
;;
@@ -38,7 +38,7 @@ git () {
;;
esac
- $(\which -p git) $@
+ $(which -p git) $@
}
term_title()