Colourise PS{2..4}

This commit is contained in:
tastytea 2022-04-24 17:14:48 +02:00
parent 070890a95a
commit ed72ab94d6
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -142,9 +142,9 @@ function prompt_tastytea_setup() {
prompt_opts=(cr percent sp subst) prompt_opts=(cr percent sp subst)
PS1="${showuser}"'${vcs_info_msg_0_}'"%B%F{${prompt_tastytea_colours[prompt]}}%#%f%b " PS1="${showuser}"'${vcs_info_msg_0_}'"%B%F{${prompt_tastytea_colours[prompt]}}%#%f%b "
RPS1="%F{${prompt_tastytea_colours[path]}}%(?..[%B%F{${prompt_tastytea_colours[highlight]}}%?%b%F{${prompt_tastytea_colours[path]}}] )"'$(prompt_tastytea_shrunkpwd)'"%f" RPS1="%F{${prompt_tastytea_colours[path]}}%(?..[%B%F{${prompt_tastytea_colours[highlight]}}%?%b%F{${prompt_tastytea_colours[path]}}] )"'$(prompt_tastytea_shrunkpwd)'"%f"
PS2='%_> ' PS2='%F{${prompt_tastytea_colours[prompt]}}%_>%f '
PS3='?# ' PS3='%F{${prompt_tastytea_colours[prompt]}}?#%f '
PS4='+%N:%i> ' PS4='%F{${prompt_tastytea_colours[prompt]}}+%N:%i>%f '
} }
prompt_tastytea_setup "$@" prompt_tastytea_setup "$@"