浏览代码

removed superfluous vcs_info_msg in trapd00r theme

in the trapd00r theme vcs info is already displayed on the first line if in a version controlled directory. the second vcs info was displayed at the end of the second line without providing additional information. this was removed.
Jakob Jordan 9 年之前
父节点
当前提交
6bccb1a7b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/trapd00r.zsh-theme

+ 1 - 1
themes/trapd00r.zsh-theme

@@ -86,7 +86,7 @@ prompt_jnrowe_precmd () {
   else
     dir_status="%{$c1%}%n%{$c4%}@%{$c2%}%m%{$c0%}:%{$c3%}%l%{$c6%}->%{$(zsh_path)%} %{$c0%}(%{$c5%}%?%{$c0%})"
     PROMPT='${vcs_info_msg_0_}
-%{$fg_bold[green]%}%p%{$reset_color%}${dir_status} ${vcs_info_msg_0_}%{$reset_color%}
+%{$fg_bold[green]%}%p%{$reset_color%}${dir_status}%{$reset_color%}
 > '
 fi
 }