1. 30 Mar, 2016 1 commit
  2. 24 Mar, 2016 1 commit
  3. 07 Mar, 2016 2 commits
  4. 20 Feb, 2016 2 commits
  5. 14 Feb, 2016 2 commits
  6. 12 Feb, 2016 2 commits
  7. 13 Jan, 2016 6 commits
  8. 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
  9. 14 Dec, 2015 1 commit
  10. 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
  11. 08 Nov, 2015 1 commit
  12. 07 Nov, 2015 1 commit
  13. 22 Oct, 2015 1 commit
  14. 27 Sep, 2015 1 commit
  15. 20 Sep, 2015 1 commit
  16. 18 Sep, 2015 1 commit
  17. 11 Sep, 2015 1 commit
  18. 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
  19. 02 Sep, 2015 1 commit
  20. 17 Aug, 2015 1 commit
  21. 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
  22. 19 Jul, 2015 3 commits
  23. 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
  24. 03 Jul, 2015 1 commit
  25. 26 Jun, 2015 1 commit
  26. 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
  27. 14 Jun, 2015 1 commit
  28. 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
  29. 10 Jun, 2015 1 commit