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 9419d0d..01c7918 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -45,7 +45,7 @@ get_git_branch ()
check_git_status ()
{
## GIT TRACKING ##
- if [ "$GITCHECK" != "no" -a "$(git-log --pretty=oneline .)" != "" ]
+ if [ "$GITCHECK" != "no" -a "$(git-log --pretty=oneline . 2>&-)" != "" ]
then
GITBRANCH=$(get_git_branch);
if [ "$GITBRANCH" != "" ]