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. 14 Dec, 2015 1 commit
  3. 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
  4. 08 Nov, 2015 1 commit
  5. 07 Nov, 2015 1 commit
  6. 27 Sep, 2015 1 commit
  7. 20 Sep, 2015 1 commit
  8. 18 Sep, 2015 1 commit
  9. 11 Sep, 2015 1 commit
  10. 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
  11. 02 Sep, 2015 1 commit
  12. 17 Aug, 2015 1 commit
  13. 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
  14. 19 Jul, 2015 3 commits
  15. 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
  16. 03 Jul, 2015 1 commit
  17. 26 Jun, 2015 1 commit
  18. 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
  19. 14 Jun, 2015 1 commit
  20. 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
  21. 10 Jun, 2015 4 commits
  22. 28 Apr, 2015 1 commit
  23. 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
  24. 15 Feb, 2015 1 commit
  25. 14 Feb, 2015 1 commit
  26. 10 Feb, 2015 3 commits
  27. 09 Feb, 2015 1 commit
    • Jakob Jordan's avatar
      removed superfluous vcs_info_msg in trapd00r theme · 6bccb1a7
      Jakob Jordan authored
      in the trapd00r theme vcs info is already displayed on the first line if in a version controlled directory. the second vcs info was displayed at the end of the second line without providing additional information. this was removed.
      6bccb1a7
  28. 15 Dec, 2014 2 commits
  29. 11 Dec, 2014 1 commit
  30. 10 Dec, 2014 1 commit
  31. 24 Nov, 2014 1 commit
  32. 16 Nov, 2014 1 commit