From 81f7be256031b0f6a1d08143fcac0bd0daaf0915 Mon Sep 17 00:00:00 2001 From: David Todd Date: Thu, 22 Jun 2017 11:51:11 -0500 Subject: [PATCH] Add my tweaked darkblood It is exactly the same, except I've added the time to the prompt --- omz/themes/darkblood.zsh-theme | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 omz/themes/darkblood.zsh-theme diff --git a/omz/themes/darkblood.zsh-theme b/omz/themes/darkblood.zsh-theme new file mode 100644 index 0000000..caaafbd --- /dev/null +++ b/omz/themes/darkblood.zsh-theme @@ -0,0 +1,13 @@ +# 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_bold[white]%}%m%{$reset_color%}%{$fg[red]%}] %{$fg[red]%}[%{$fg_bold[white]%}%*%{$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%}" \ No newline at end of file