浏览代码

add symbol in darcs repos to match git and mercurial

Jack Henahan 11 年之前
父节点
当前提交
e7f24a8319
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      themes/smt.zsh-theme

+ 1 - 0
themes/smt.zsh-theme

@@ -29,6 +29,7 @@ ZSH_THEME_GIT_PROMPT_SHA_AFTER="%{$reset_color%}"
 function prompt_char() {
   git branch >/dev/null 2>/dev/null && echo "%{$fg[green]%}±%{$reset_color%}" && return
   hg root >/dev/null 2>/dev/null && echo "%{$fg_bold[red]%}☿%{$reset_color%}" && return
+  darcs show repo >/dev/null 2>/dev/null && echo "%{$fg_bold[green]%}❉%{$reset_color%}" && return
   echo "%{$fg[cyan]%}◯%{$reset_color%}"
 }