From 0f02d165ffae1dd2aeb0b840f2ce3dfcf599dc78 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 26 Aug 2010 14:45:53 +0200 Subject: [Func] git clearer error message --- 01_Functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '01_Functions.zsh') 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 ;; -- cgit v1.2.3