浏览代码

gentoo-like theme w/ git_prompt_info

Igor Vinokurov 13 年之前
父节点
当前提交
d230d2e519
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      themes/gentoo.zsh-theme

+ 4 - 0
themes/gentoo.zsh-theme

@@ -0,0 +1,4 @@
+PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~) $(git_prompt_info)%#%{$reset_color%} '
+
+ZSH_THEME_GIT_PROMPT_PREFIX="("
+ZSH_THEME_GIT_PROMPT_SUFFIX=") "