summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
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