diff options
-rw-r--r-- | 01_Functions.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh index ba88af2..a0da3c0 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -45,7 +45,7 @@ get_git_branch () check_git_status () { ## GIT TRACKING ## - if [ "$GITCHECK" != "no" ] + if [ "$GITCHECK" != "no" -a "$(git-log .)" != "" ] then GITBRANCH=$(get_git_branch); if [ "$GITBRANCH" != "" ] |