We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 83e91b9 + 23b595f commit 3a98d12Copy full SHA for 3a98d12
functions/geometry_git
@@ -29,7 +29,7 @@ geometry_git_status() {
29
command git rev-parse --git-dir > /dev/null 2>&1 || return
30
31
[[ -z "$(git status --porcelain --ignore-submodules HEAD)" ]] \
32
- && [[ -z "$(git ls-files --others --modified --exclude-standard $(git rev-parse --show-toplevel))" ]] \
+ && [[ -z "$(git ls-files --others --modified --exclude-standard \"$(git rev-parse --show-toplevel))\"" ]] \
33
&& ansi ${GEOMETRY_GIT_COLOR_CLEAN:-green} ${GEOMETRY_GIT_SYMBOL_CLEAN:-"⬢"} \
34
|| ansi ${GEOMETRY_GIT_COLOR_DIRTY:-red} ${GEOMETRY_GIT_SYMBOL_DIRTY:-"⬡"}
35
}
0 commit comments