forked from mudhorn/dotfiles
Update .zshrc
This commit is contained in:
parent
9de49e0911
commit
78b00b5f96
4
.zshrc
4
.zshrc
|
@ -97,9 +97,9 @@ configure_prompt() {
|
|||
#[ "$EUID" -eq 0 ] && prompt_symbol=💀
|
||||
case "$PROMPT_ALTERNATIVE" in
|
||||
twoline)
|
||||
PROMPT=$'%F{%(#.#008080.#31A6A6)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.#008080)}%n'$prompt_symbol$'%m%b%F{%(#.#008080.#31A6A6)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.#008080.#31A6A6)}]\n└─%B%(#.%F{red}#.%F{#008080}$)%b%F{reset} '
|
||||
PROMPT=$'%F{%(#.#76F4FF.#FF0)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.#76F4FF)}%n'$prompt_symbol$'%m%b%F{%(#.#76F4FF.#FF0)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.#76F4FF.#FF0)}]\n└─%B%(#.%F{red}#.%F{#76F4FF}$)%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}.)'
|
||||
#RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{#FF0}%B⚙%b%F{reset}.)'
|
||||
;;
|
||||
oneline)
|
||||
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.#008080)}%n@%m%b%F{reset}:%B%F{%(#.#008080.#31A6A6)}%~%b%F{reset}%(#.#.$) '
|
||||
|
|
Loading…
Reference in a new issue