Skip to content

Commit 75a2aeb

Browse files
author
jedahan
committed
clear PROMPT before setting it in case things are slow
1 parent 589a9a1 commit 75a2aeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

geometry.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ geometry::rprompt() {
135135
}
136136

137137
geometry::prompt() {
138+
PROMPT=""
138139
GEOMETRY[LAST_STATUS]="$status"
139140
PROMPT=" $(geometry::wrap $PWD $GEOMETRY_PROMPT) "
140141
}

0 commit comments

Comments
 (0)