From 4c2642e83c5525a7f72b4a62f9cc461c7acee507 Mon Sep 17 00:00:00 2001 From: rochappy Date: Tue, 18 Mar 2014 01:56:28 +0800 Subject: [PATCH] Create roc.zsh-theme added theme roc.zsh-theme. --- themes/roc.zsh-theme | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 themes/roc.zsh-theme diff --git a/themes/roc.zsh-theme b/themes/roc.zsh-theme new file mode 100644 index 000000000..eb169f6d3 --- /dev/null +++ b/themes/roc.zsh-theme @@ -0,0 +1,24 @@ +# Git Info +local git_info='$(git_prompt_info)' +ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[white]%}on%{$reset_color%} git:%{$fg[cyan]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}x" +ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}o" + +: <<'FORMAT' +Prompt format: + +PRIVILEGES USER @ MACHINE in DIRECTORY on git:BRANCH STATE [TIME] +COMMAND + + +FORMAT + +PROMPT="%{$fg_bold[cyan]%}♨ %{$reset_color%}\ +%{$fg[cyan]%}%n\ +%{$fg[white]%}@\ +%{$fg[green]%}%m \ +%{$fg[white]%}in \ +%{$fg_bold[yellow]%}%~%{$reset_color%}\ +${git_info} +%{$fg[yellow]%}➜ %{$reset_color%}"