File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -80,18 +80,18 @@ geometry_git_conflicts() {
80
80
geometry_git() {
81
81
(( $+commands[git] )) || return
82
82
83
- git rev-parse --absolute-git-dir 2>&1 >/dev/null || return
83
+ git rev-parse 2 >/dev/null || return
84
84
85
- $(command git rev-parse --is-bare-repository 2>/dev/null ) \
85
+ $(git rev-parse --is-bare-repository) \
86
86
&& ansi ${GEOMETRY_GIT_COLOR_BARE:=blue} ${GEOMETRY_GIT_SYMBOL_BARE:="⬢"} \
87
87
&& return
88
88
89
89
local git_info && git_info=(
90
- geometry_git_symbol \
91
- geometry_git_branch \
92
- geometry_git_conflicts \
93
- geometry_git_time \
94
- geometry_git_stashes \
90
+ geometry_git_symbol
91
+ geometry_git_branch
92
+ geometry_git_conflicts
93
+ geometry_git_time
94
+ geometry_git_stashes
95
95
geometry_git_status
96
96
)
97
97
You can’t perform that action at this time.
0 commit comments