|
@@ -25,15 +25,14 @@ if [ -n "$force_color_prompt" ]; then
|
25
|
25
|
fi
|
26
|
26
|
|
27
|
27
|
configure_prompt() {
|
28
|
|
- #prompt_symbol=㉿
|
29
|
28
|
prompt_symbol=@
|
30
|
29
|
# Skull emoji for root terminal
|
31
|
|
- #[ "$EUID" -eq 0 ] && prompt_symbol=💀
|
|
30
|
+ [ "$EUID" -eq 0 ] && prompt_symbol='%F{white}☠%B%F{%(#.red.blue)}'
|
32
|
31
|
case "$PROMPT_ALTERNATIVE" in
|
33
|
32
|
twoline)
|
34
|
|
- PROMPT=$'%F{%(#.blue.green)}╔══${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n`giti -n`%F{%(#.blue.green)}╚═%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
|
33
|
+ PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n`giti -n`%F{%(#.blue.green)}└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
35
|
34
|
# Right-side prompt with exit codes and background processes
|
36
|
|
- RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
|
35
|
+ RPROMPT=$'%(?.. %? %F{red}%B⚡%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
37
|
36
|
;;
|
38
|
37
|
oneline)
|
39
|
38
|
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '
|