浏览代码

FrontCube theme with git status

Aslam Najeebdeen 13 年之前
父节点
当前提交
878d569c68
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      themes/frontcube.zsh-theme

+ 10 - 0
themes/frontcube.zsh-theme

@@ -0,0 +1,10 @@
+PROMPT='
+%{$fg_bold[gray]%}%~%{$fg_bold[blue]%}%{$fg_bold[blue]%} % %{$reset_color%}
+%{$fg[green]%}➞  %{$reset_color%'
+
+RPROMPT='$(git_prompt_info)'
+
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[git:"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}] %{$fg[red]%}✖ %{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}] %{$fg[green]%}✔%{$reset_color%}"