Skip to content

Commit dbd28b2

Browse files
committed
Fixes #3
1 parent 2040e57 commit dbd28b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

geometry.zsh

+3-3
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ prompt_geometry_git_conflicts() {
162162

163163
prompt_geometry_git_info() {
164164
if git rev-parse --git-dir > /dev/null 2>&1; then
165-
if $PROMPT_GEOMETRY_GIT_CONFLICTS; then
165+
if $PROMPT_GEOMETRY_GIT_CONFLICTS ; then
166166
conflicts="$(prompt_geometry_git_conflicts) "
167167
fi
168168

@@ -208,10 +208,10 @@ prompt_geometry_set_title() {
208208

209209
prompt_geometry_render() {
210210
PROMPT="
211-
%(?.$GEOMETRY_PROMPT.$GEOMETRY_EXIT_VALUE) %F{$GEOMETRY_COLOR_DIR}%3~%f "
211+
%1{%(?.$GEOMETRY_PROMPT.$GEOMETRY_EXIT_VALUE)%} %F{$GEOMETRY_COLOR_DIR}%3~%f "
212212

213213
PROMPT2=" $GEOMETRY_SYMBOL_RPROMPT "
214-
RPROMPT="$(prompt_geometry_git_info)%{$reset_color%}"
214+
RPROMPT="$(prompt_geometry_git_info)%f"
215215
}
216216

217217
prompt_geometry_setup() {

0 commit comments

Comments
 (0)