From 0793278cdb1ea840d83d4187af58bff426501ef5 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 25 Feb 2009 15:46:59 +0100 Subject: [GIT] uses --inside-git-dir instead of --git-dir --- 01_Functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_Functions.zsh b/01_Functions.zsh index f40a7df..b2bb20a 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -113,7 +113,7 @@ get_git_status () then return fi - if [ "$(git-rev-parse --git-dir)" == "." ] ; then + if [ "$(git-rev-parse --is-inside-git-dir)" == "true" ] ; then echo "$git_colors[managment_folder]" return fi -- cgit v1.2.3