summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to '01_Functions.zsh')
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 01c7918..a4aa38a 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 . 2>&-)" != "" ]
+ if [ "$GITCHECK" != "no" -a "$(git-ls-files 2>&-)" != "" ]
then
GITBRANCH=$(get_git_branch);
if [ "$GITBRANCH" != "" ]