Skip to content

Commit c12bd23

Browse files
committed
No need to trim trailing space from VIRTUAL_ENV_PROMPT
This was fixed in uv 0.7.6. See https://github.com/astral-sh/uv/releases/tag/0.7.6 and astral-sh/uv#13501
1 parent daa8d46 commit c12bd23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agnoster.zsh-theme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ _prompt_agnoster_status() {
3838
if (( EUID == 0 )) segment+=' %F{yellow}⚡'
3939
if (( ${#jobstates} )) segment+=' %F{cyan}⚙'
4040
if [[ -n ${VIRTUAL_ENV_PROMPT} ]]; then
41-
segment+=' %F{cyan}'${VIRTUAL_ENV_PROMPT% }
41+
segment+=' %F{cyan}'${VIRTUAL_ENV_PROMPT}
4242
elif [[ -n ${VIRTUAL_ENV} ]]; then
4343
segment+=' %F{cyan}'${VIRTUAL_ENV:t}
4444
fi

0 commit comments

Comments
 (0)