dotfiles/omz/themes/darkblood.zsh-theme
David Todd (c0de) e47bdb61bc Highlight the hostname in yellow
Just to make it more visible
2018-05-16 23:31:19 -05:00

13 lines
772 B
Bash

# Based on darkblood, with a clock added
# Layout:
# ┌[user@host] [time] [/dev/tty] [git branch] [error code]
# └[path]>
PROMPT=$'%{$fg[red]%}┌[%{$fg_bold[white]%}%n%{$reset_color%}%{$fg[red]%}@%{$fg[cyan]%}%m%{$reset_color%}%{$fg[red]%}] %{$fg[red]%}[%{$fg_bold[white]%}%*%{$reset_color%}%{$fg[red]%}] [%{$fg_bold[white]%}/dev/%y%{$reset_color%}%{$fg[red]%}] %{$(git_prompt_info)%}%(?,,%{$fg[red]%}[%{$fg_bold[white]%}%?%{$reset_color%}%{$fg[red]%}])
%{$fg[red]%}└[%{$fg_bold[white]%}%~%{$reset_color%}%{$fg[red]%}]>%{$reset_color%} '
PS2=$' %{$fg[red]%}|>%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}[%{$fg_bold[white]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%{$fg[red]%}] "
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}⚡%{$reset_color%}"