Skip to content

Commit 5267e64

Browse files
author
Jonathan Dahan
committed
Fix git symbol, thanks @Konsonanz
1 parent 6c328eb commit 5267e64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/geometry_git.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ geometry_git_status() {
2929

3030
[[ -z "$(git status --porcelain --ignore-submodules HEAD)" ]] \
3131
&& [[ -z "$(git ls-files --others --modified --exclude-standard $(git rev-parse --show-toplevel))" ]] \
32-
&& ansi ${GEOMETRY_GIT_COLOR_DIRTY:-red} ${GEOMETRY_GIT_SYMBOL_DIRTY:-""} \
33-
|| ansi ${GEOMETRY_GIT_COLOR_CLEAN:-green} ${GEOMETRY_GIT_SYMBOL_CLEAN:-""}
32+
&& ansi ${GEOMETRY_GIT_COLOR_CLEAN:-green} ${GEOMETRY_GIT_SYMBOL_CLEAN:-""} \
33+
|| ansi ${GEOMETRY_GIT_COLOR_DIRTY:-red} ${GEOMETRY_GIT_SYMBOL_DIRTY:-""}
3434
}
3535

3636
geometry_git_rebase() {

0 commit comments

Comments
 (0)