Update zsh prompt
Daniel Ruiz de Alegría
3 years ago
76 | 76 | fi |
77 | 77 | |
78 | 78 | if [ "$color_prompt" = yes ]; then |
79 | PROMPT=$'%F{%(#.blue.green)}┌───${debian_chroot:+($debian_chroot)───}(%B%F{%(#.red.cyan)}%n %(#.💀.👾) %m%b%F{%(#.blue.green)})──(%B%F{%(#.magenta.blue)}%(5~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)})\n└─|> %B%(#.%F{red}#.%F{cyan}$)%b%F{reset} ' | |
80 | RPROMPT=$' %(?..%? ❌ ) %(1j.%F{yellow}%j%F{reset} ⚙.)' | |
79 | PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)──}(%B%F{%(#.red.blue)}%n%(#.💀.㉿)%m%b%F{%(#.blue.green)})[%B%F{white}%(5~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} ' | |
80 | RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)' | |
81 | 81 | |
82 | 82 | # enable syntax-highlighting |
83 | 83 | if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] && [ "$color_prompt" = yes ]; then |