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 ed7eaf1 commit 639b64dCopy full SHA for 639b64d
geometry.zsh
@@ -106,17 +106,18 @@ geometry::rprompt::set() {
106
107
geometry::rprompt() {
108
typeset -g GEOMETRY_ASYNC_FD=
109
+ RPROMPT=
110
exec {GEOMETRY_ASYNC_FD}< <(geometry::wrap $PWD $GEOMETRY_RPROMPT)
111
zle -F "$GEOMETRY_ASYNC_FD" geometry::rprompt::set
112
}
113
114
geometry::prompt() {
115
GEOMETRY[LAST_STATUS]="$status"
116
PROMPT=" $(geometry::wrap $PWD $GEOMETRY_PROMPT) "
- geometry::rprompt
117
118
119
add-zsh-hook precmd geometry::prompt
120
+add-zsh-hook precmd geometry::rprompt
121
122
geometry::info() { # draw info if no command is given
123
[[ -n "$BUFFER" ]] && { zle accept-line && return; }
0 commit comments