1. 13 Jan, 2016 6 commits
  2. 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
  3. 14 Dec, 2015 1 commit
  4. 04 Dec, 2015 1 commit
    • Danyil Bohdan's avatar
      "fishy" theme: Shorten path .foo to .f, not . · 2e3731c5
      Danyil Bohdan authored
      When the current path is /home/user/.config/doublecmd the prompt
      now reads "/h/u/.c/doublecmd", not "/h/u/./doublecmd" as was the
      case. This matches what the Fish shell does.
      
      Enclose the Perl snippet in single quotes instead of double quotes.
      2e3731c5
  5. 08 Nov, 2015 1 commit
  6. 07 Nov, 2015 1 commit
  7. 22 Oct, 2015 1 commit
  8. 27 Sep, 2015 1 commit
  9. 20 Sep, 2015 1 commit
  10. 18 Sep, 2015 1 commit
  11. 11 Sep, 2015 1 commit
  12. 04 Sep, 2015 1 commit
    • Andrew Janke's avatar
      gnzh theme: fix "eval" and related problems. · d009f24a
      Andrew Janke authored
      Switch to normal zsh %F/%f prompt escapes to avoid "eval" and extra variables.
      Wrap whole thing in anonymous function so the existing `local`
      statements actually work. Then switch '...' to eager "..." so
      stuff actually works with local variables. And local-ize the
      remaining variables that are used only in prompt construction.
      d009f24a
  13. 02 Sep, 2015 1 commit
  14. 17 Aug, 2015 1 commit
  15. 27 Jul, 2015 1 commit
    • Brian Degenhardt's avatar
      agnoster: speed up git prompt · b875df89
      Brian Degenhardt authored
      Problem
      
      On detached-refs, the git prompt is very slow because it uses a command
      to output all refs, which takes 32s on the twitter internal git repo.
      
      Solution
      
      Use git-rev-parse instead of git-show-ref to only output the head ref.
      Runtime drops to 0.03 seconds.
      
      Note
      
      Interestingly, git-rev-parse isn't slow without the --head arguement so
      I'll probably be cooking up a patch for the git team to speed this up
      eventually, but it's still pointless to sigpipe git as it walks the
      filesystem.
      b875df89
  16. 19 Jul, 2015 3 commits
  17. 13 Jul, 2015 1 commit
    • Hongxin Liang's avatar
      [theme] Fix color problem of steeef theme · 46d13384
      Hongxin Liang authored
      steeef theme sets colors depending on $TERM, however if %F is
      used, it must be closed by %f instead of %{$reset_color%}.
      
      Further on, all %f directives have been replaced by %F and color
      support of current TERM is checked more properly.
      46d13384
  18. 03 Jul, 2015 1 commit
  19. 26 Jun, 2015 1 commit
  20. 16 Jun, 2015 1 commit
    • Michele Bologna's avatar
      Change to use omz git_prompt* functions · 68b792bb
      Michele Bologna authored
      Removed references for official git __git_ps1() functions.
      Change to use omz function git_prompt* functions like:
      - git_prompt_info() -> branch name
      - git_prompt_status() -> check if untracked, modified, added,
        stashed file are in the current git repo
      - git_remote_status() -> check if current repo is ahead, behind,
        or diverged.
      These functions returns string automatically added to your PS1;
      these are customizable via exporting ZSH_THEME_GIT_PROMPT*
      68b792bb
  21. 14 Jun, 2015 1 commit
  22. 11 Jun, 2015 1 commit
    • Michele Bologna's avatar
      * Added header with help and information · 81eec406
      Michele Bologna authored
      * Moved git information to left prompt, with
        support for:
          * +ZSH_THEME_GIT_PROMPT_UNTRACKED, MODIFIED,
          STASHED, ADDED, UPSTREAM STATUS
          (if applicable)
      * Removed right prompt
      * Refactored following Google's guidelines for
        scripts [ http://goo.gl/oJSXH2 ]
          * Using local variables where applicable
      81eec406
  23. 10 Jun, 2015 4 commits
  24. 28 Apr, 2015 1 commit
  25. 16 Feb, 2015 1 commit
    • Roderick Randolph's avatar
      Fixes incorrect prompt arrow color · 46e6e2e2
      Roderick Randolph authored
      Fixes a bug where color of status arrow in prompt is red even when the exit code was zero (or success). This fix correclty returns green arrow on success and red for non-success exit code.
      46e6e2e2
  26. 15 Feb, 2015 1 commit
  27. 14 Feb, 2015 1 commit
  28. 10 Feb, 2015 3 commits