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 87bc5b4..6871852 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -129,7 +129,7 @@ get_git_branch () REBASE_DIR=$GIT_DIR/rebase-apply fi - if [ -d $GIT_DIR/rebase-merge ] + if [ "$REBASE_DIR" = "$GIT_DIR/rebase-merge" ] then current=$(< $REBASE_DIR/done wc -l) last=$(( $current + $(< $REBASE_DIR/git-rebase-todo grep -v "^#\|^[[:blank:]]*$" | wc -l) )) |