浏览代码

Adding a little documentation for the git themes

Christopher Sexton 14 年之前
父节点
当前提交
ff8e99beef
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      git.zsh

+ 6 - 1
git.zsh

@@ -1,4 +1,9 @@
-#
+# Varables for themeing the git info prompt:
+# ZSH_THEME_GIT_PROMPT_PREFIX - Prefix at the very beginning of the prompt, before the branch name
+# ZSH_THEME_GIT_PROMPT_SUFFIX - At the very end of the prompt
+# ZSH_THEME_GIT_PROMPT_DIRTY  - Text to display if the branch is dirty
+# ZSH_THEME_GIT_PROMPT_CLEAN  - Text to display if the branch is clean
+
 ZSH_THEME_GIT_PROMPT_PREFIX="git:("
 ZSH_THEME_GIT_PROMPT_SUFFIX=")"
 ZSH_THEME_GIT_PROMPT_DIRTY="*"