From 335de203534e981ed8038b81c9009efb6004ff58 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Mon, 13 May 2019 08:32:48 +0800 Subject: update --- .oh-my-zsh/custom/themes/robbyrussell.zsh-theme | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .oh-my-zsh/custom/themes/robbyrussell.zsh-theme diff --git a/.oh-my-zsh/custom/themes/robbyrussell.zsh-theme b/.oh-my-zsh/custom/themes/robbyrussell.zsh-theme new file mode 100644 index 0000000..51c531f --- /dev/null +++ b/.oh-my-zsh/custom/themes/robbyrussell.zsh-theme @@ -0,0 +1,7 @@ +local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )" +PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" -- cgit v1.2.3