Update .zshrc

This commit is contained in:
mudhorn 2024-09-06 19:48:21 -07:00
parent da7cc46e03
commit 93fba96365

6
.zshrc
View file

@ -97,16 +97,16 @@ configure_prompt() {
#[ "$EUID" -eq 0 ] && prompt_symbol=💀
case "$PROMPT_ALTERNATIVE" in
twoline)
PROMPT=$'%F{%(#.aqua.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.aqua)}%n'$prompt_symbol$'%m%b%F{%(#.aqua.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.aqua.green)}]\n└─%B%(#.%F{red}#.%F{aqua}$)%b%F{reset} '
PROMPT=$'%F{%(#.#008080.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.#008080)}%n'$prompt_symbol$'%m%b%F{%(#.#008080.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.#008080.green)}]\n└─%B%(#.%F{red}#.%F{#008080}$)%b%F{reset} '
# Right-side prompt with exit codes and background processes
#RPROMPT=$'%(?.. %? %F{red}%B%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
;;
oneline)
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.aqua)}%n@%m%b%F{reset}:%B%F{%(#.aqua.green)}%~%b%F{reset}%(#.#.$) '
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.#008080)}%n@%m%b%F{reset}:%B%F{%(#.#008080.green)}%~%b%F{reset}%(#.#.$) '
RPROMPT=
;;
backtrack)
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{aqua}%~%b%F{reset}%(#.#.$) '
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{#008080}%~%b%F{reset}%(#.#.$) '
RPROMPT=
;;
esac