summaryrefslogtreecommitdiff
path: root/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2019-05-13 08:32:30 +0800
committerSteve Lee <me@xiangyangli.com>2019-05-13 08:32:30 +0800
commit7af19a91f6f37f0e6617e9cbecfe93873a2f9408 (patch)
treee10f88fd4570f8b940843e70036ddfa542662b45 /.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes
parent1e7c1dd60e95c46fa007891720297b867dd920d9 (diff)
downloaddotfiles-7af19a91f6f37f0e6617e9cbecfe93873a2f9408.tar.xz
dotfiles-7af19a91f6f37f0e6617e9cbecfe93873a2f9408.zip
update
Diffstat (limited to '.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes')
-rw-r--r--.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes7
1 files changed, 7 insertions, 0 deletions
diff --git a/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes b/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes
new file mode 100644
index 0000000..51c531f
--- /dev/null
+++ b/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes
@@ -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]%})"