From d94006225fb0c59c670f4926c9bb91d52591f9d6 Mon Sep 17 00:00:00 2001 From: Wentao Han Date: Wed, 14 May 2014 13:37:36 +0800 Subject: [PATCH] Add my own theme file --- themes/hanwentao.zsh-theme | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 themes/hanwentao.zsh-theme diff --git a/themes/hanwentao.zsh-theme b/themes/hanwentao.zsh-theme new file mode 100644 index 000000000..fe7f5fe2e --- /dev/null +++ b/themes/hanwentao.zsh-theme @@ -0,0 +1,7 @@ +local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" +PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%~ %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}%# %{$reset_color%}' + +ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"