summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2019-05-13 08:32:48 +0800
committerSteve Lee <me@xiangyangli.com>2019-05-13 08:32:48 +0800
commit335de203534e981ed8038b81c9009efb6004ff58 (patch)
tree418bb15e967fc1bad28aac838c61326a9c669850
parentfce861a15669b403935709bfc2d8226587a74ca1 (diff)
downloaddotfiles-335de203534e981ed8038b81c9009efb6004ff58.tar.xz
dotfiles-335de203534e981ed8038b81c9009efb6004ff58.zip
update
-rw-r--r--.oh-my-zsh/custom/themes/robbyrussell.zsh-theme7
1 files changed, 7 insertions, 0 deletions
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]%})"