Merge commit 'ba8978c'

This commit is contained in:
Dirk Alders 2023-08-27 21:15:44 +02:00
commit b3c7421265

View File

@ -28,7 +28,7 @@ configure_prompt() {
#prompt_symbol=㉿ #prompt_symbol=㉿
prompt_symbol=@ prompt_symbol=@
# Skull emoji for root terminal # Skull emoji for root terminal
[ "$EUID" -eq 0 ] && prompt_symbol=💀 #[ "$EUID" -eq 0 ] && prompt_symbol=💀
case "$PROMPT_ALTERNATIVE" in case "$PROMPT_ALTERNATIVE" in
twoline) twoline)
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} ' 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} '