zsh: minor prompt update

This commit is contained in:
Jason Swank
2026-01-31 22:39:46 -05:00
parent 7877c99dd9
commit 154f1a66e5
2 changed files with 23 additions and 2 deletions

View File

@@ -56,9 +56,9 @@ function set_prompt() {
aws_prompt=""
fi
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
PROMPT=$aws_prompt"%B${vcs_info_msg_0_}> %b"
PROMPT=$aws_prompt"%B${vcs_info_msg_0_} %b"
else
PROMPT=$aws_prompt"%B%m:%~> %b"
PROMPT=$aws_prompt"%B%m:%~ %b"
fi
}
precmd_functions+=( set_prompt )