forked from mudhorn/dotfiles
Update .zshrc
This commit is contained in:
parent
95c811526d
commit
da7cc46e03
6
.zshrc
6
.zshrc
|
@ -97,16 +97,16 @@ configure_prompt() {
|
||||||
#[ "$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└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
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} '
|
||||||
# Right-side prompt with exit codes and background processes
|
# Right-side prompt with exit codes and background processes
|
||||||
#RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
#RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
||||||
;;
|
;;
|
||||||
oneline)
|
oneline)
|
||||||
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}%(#.#.$) '
|
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}%(#.#.$) '
|
||||||
RPROMPT=
|
RPROMPT=
|
||||||
;;
|
;;
|
||||||
backtrack)
|
backtrack)
|
||||||
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{blue}%~%b%F{reset}%(#.#.$) '
|
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{aqua}%~%b%F{reset}%(#.#.$) '
|
||||||
RPROMPT=
|
RPROMPT=
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue