1. 30 Jan, 2013 1 commit
  2. 27 Jan, 2013 1 commit
  3. 07 Dec, 2012 1 commit
  4. 31 Jul, 2012 1 commit
  5. 29 Jul, 2012 1 commit
    • Caio Romão's avatar
      Add branch status support to git_prompt_status · a3c2a2f6
      Caio Romão authored
      This patch makes git_prompt_status support three new status variables:
      
       - ZSH_THEME_GIT_PROMPT_AHEAD
       - ZSH_THEME_GIT_PROMPT_BEHIND
       - ZSH_THEME_GIT_PROMPT_DIVERGED
      
      With these extra variables it's easy to see (1) if you have commits in
      your local branch that weren't pushed to the remote (AHEAD), (2) if
      there are commits in the remote that you haven't merged/rebased yet
      (BEHIND) or (3) if you have local unpushed commits AND the remote has
      some commits you haven't merged yet (DIVERGED).
      
      Refer to the first line displayed on `git status -b --porcelain`.
      
      An example setup in a .zsh-theme file would be:
      
      ZSH_THEME_GIT_PROMPT_AHEAD="↑"
      ZSH_THEME_GIT_PROMPT_BEHIND="↓"
      ZSH_THEME_GIT_PROMPT_DIVERGED=""
      a3c2a2f6
  6. 18 Apr, 2012 1 commit
    • Martin Meredith's avatar
      Add option to disable status notification · 8ce35df2
      Martin Meredith authored
      For certain git repositories, this slows down usage
      of the shell horifically.
      
      This option can be set with
      
          git config --add oh-my-zsh.hide-status 1
      
      which will disable checking/showing the status notification
      8ce35df2
  7. 21 Feb, 2012 1 commit
  8. 08 Feb, 2012 3 commits
  9. 27 Jan, 2012 1 commit
  10. 26 Jan, 2012 1 commit
  11. 21 Dec, 2011 1 commit
  12. 14 Jul, 2011 1 commit
  13. 31 May, 2011 1 commit
  14. 09 May, 2011 1 commit
  15. 29 Apr, 2011 1 commit
    • Juan G. Hurtado's avatar
      Adds new prompt methods on Git lib · 077baa7b
      Juan G. Hurtado authored
      Modifies the Git lib file (lib/git.zsh), adding three new prompt
      methods:
      
      - git_prompt_ahead(): Shows the content of the custom var
        $ZSH_THEME_GIT_PROMPT_AHEAD if the local repository has
        commits ahead from the remote origin repository
      
      - git_prompt_short_sha(): Shows last commit SHA hash in short
        mode wrapped between the content of the custom vars
        $ZSH_THEME_GIT_PROMPT_SHA_BEFORE and
        $ZSH_THEME_GIT_PROMPT_SHA_AFTER
      
      - git_prompt_long_sha(): Shows last commit SHA hash in long
        mode wrapped between the content of the custom vars
        $ZSH_THEME_GIT_PROMPT_SHA_BEFORE and
        $ZSH_THEME_GIT_PROMPT_SHA_AFTER
      077baa7b
  16. 20 Mar, 2011 1 commit
  17. 04 Feb, 2011 1 commit
  18. 09 Oct, 2010 1 commit
  19. 08 Oct, 2010 1 commit
  20. 03 Jun, 2010 2 commits
  21. 07 May, 2010 1 commit
  22. 28 Dec, 2009 1 commit
  23. 25 Nov, 2009 1 commit
  24. 09 Nov, 2009 1 commit
  25. 08 Nov, 2009 1 commit
  26. 04 Nov, 2009 1 commit
  27. 23 Sep, 2009 1 commit
  28. 22 Sep, 2009 2 commits
    • Christopher Sexton's avatar
      Git 1.6 support · 9f0df188
      Christopher Sexton authored
      `git-symbolic-ref` needs to be `git symbolic-ref`
      9f0df188
    • Christopher Sexton's avatar
      Improved git prompt handling · a9f21b38
      Christopher Sexton authored
       * Improved speed, the first time cd'ing into a git repo the prompt
         returns much faster (for me at least).
       * Prompt is now decorated in nested folders within a git repo. No
         longer check for the '.git' folder.
      a9f21b38
  29. 14 Sep, 2009 2 commits
    • Christopher Sexton's avatar
      ff8e99be
    • Christopher Sexton's avatar
      Added risto theme and made git.zsh themable · 85a4e302
      Christopher Sexton authored
       * git.zsh is now themable:
         * git_prompt_info() now will look in the following variables for
           formatting strings:
           * ZSH_THEME_GIT_PROMPT_PREFIX - Prefix for the prompt (before the
             branch name)
           * ZSH_THEME_GIT_PROMPT_SUFFIX - The very end of the prompt
           * ZSH_THEME_GIT_PROMPT_DIRTY - Displayed when the branch is dirty
           * ZSH_THEME_GIT_PROMPT_CLEAN - Displayed when the branch is clean
       * Updated geoffgarside, robbyrussell, and maran to work with new git
         theme
       * Added the Risto theme, which is very similar to a number of bash
         prompts, and allows me to use zsh in with out my co-workers knowing I
         have the advantage. Think of it as a ninja theme.
      85a4e302
  30. 31 Aug, 2009 6 commits