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