1. 15 Dec, 2015 1 commit
    • Andrew Janke's avatar
      Move current_branch() from git plugin to core lib/git.zsh · 9f552130
      Andrew Janke authored
      Fixes #4085: core -> plugin dependency issue.
      Rename it to git_current_branch for clarity that it's git-specific.
      Update all plugins that were calling it to use new name.
      Fix variable leaks by making more variables in lib/git.zsh local.
      Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
      9f552130
  2. 08 Mar, 2014 1 commit
  3. 29 Apr, 2011 1 commit
    • Juan G. Hurtado's avatar
      Custom theme with Git support · 208b225a
      Juan G. Hurtado authored
      This is my personal oh-my-zsh theme. It has Git support through
      methods found in Git lib file of oh-my-zsh. It uses:
      
      - parse_git_dirty()
      - git_prompt_ahead()
      - current_branch()
      - git_prompt_short_sha()
      - git_prompt_status()
      
      It also shows user name, machine name and current path. You can
      take a look at a screenshot at http://goo.gl/ZVoyk
      208b225a