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.
1 parent b02956f commit 23b595fCopy full SHA for 23b595f
functions/geometry_git
@@ -23,7 +23,7 @@ geometry_git_status() {
23
command git rev-parse --git-dir > /dev/null 2>&1 || return
24
25
[[ -z "$(git status --porcelain --ignore-submodules HEAD)" ]] \
26
- && [[ -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))\"" ]] \
27
&& ansi ${GEOMETRY_GIT_COLOR_CLEAN:-green} ${GEOMETRY_GIT_SYMBOL_CLEAN:-"⬢"} \
28
|| ansi ${GEOMETRY_GIT_COLOR_DIRTY:-red} ${GEOMETRY_GIT_SYMBOL_DIRTY:-"⬡"}
29
}
0 commit comments