summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2010-08-26 14:45:53 +0200
committerHugues Hiegel <hugues@hiegel.fr>2010-08-26 14:45:53 +0200
commit0f02d165ffae1dd2aeb0b840f2ce3dfcf599dc78 (patch)
tree9f618d9a5efa4f9bf2cb514acf09c25c924de3a6 /01_Functions.zsh
parent01fcff8f4243e75116986fbb818789f0c138d087 (diff)
[Func] git clearer error message
Diffstat (limited to '01_Functions.zsh')
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 1ccc8d0..abec907 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -32,7 +32,7 @@ git () {
-a \( ! -d .git -o "$($GIT rev-parse --git-dir 2>&-)" != ".git" \)\
-a "$($GIT rev-parse --is-inside-git-dir 2>&-)" != "true" ]
then
- echo >&2 "Not inside a git folder !"
+ echo >&2 "zsh: the current folder is not managed by git"
return
fi
;;