This commit is contained in:
Jason Swank
2026-03-24 01:53:20 +00:00
parent 0d462adef6
commit ef81373d07

View File

@@ -60,10 +60,10 @@ 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:%2~ ▶ %b"
# PROMPT=$aws_prompt"%B%m:%~ ▶%b "
PROMPT=$aws_prompt"%B%m:%2~ ▶%b "
fi
}
precmd_functions+=( set_prompt )