1. 17 May, 2018 1 commit
    • Andrew Baumann's avatar
      agnoster: cut down on fork/execs improve performance when not in a repo (#6210) · fbcda4d5
      Andrew Baumann authored
      * agnoster: improve perf with use of $jobstates (zsh/parameter module)
      
      This saves multiple fork/execs (for the subshell and wc) each
      time the prompt is rendered
      
      * agnoster: compute git repo_path only when in a git repo
      
      this avoids needlessly invoking git twice every time we render the prompt
      
      * agnoster: avoid subshell when rendering prompt
      
      Rather than forking a subshell to print the prompt, construct it
      incrementally by appending to $PROMPT.
      
      v2: fix incorrect CURRENT_BG
      v3: fix bzr and hg prompting
      
      Thanks @mcornella for the help.
      fbcda4d5
  2. 21 Sep, 2016 1 commit
  3. 20 Sep, 2016 1 commit
    • grindhold's avatar
      added support for bazaar in agnoster theme (#5016) · d1ce70f6
      grindhold authored
      the agnoster theme is now able to render basic information
      if the user is currently residing inside a bazaar folder.
      if so, it will render a green promt segment with "bzr" and
      the current revision number in it. if there are untracked
      files, the bar will be rendered in yellow. if there are
      changes to already tracked files, a + character will be
      printed.
      d1ce70f6
  4. 22 Jul, 2016 1 commit
  5. 08 Nov, 2015 1 commit
  6. 07 Nov, 2015 1 commit
  7. 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
  8. 03 Jul, 2015 1 commit
  9. 26 Jun, 2015 1 commit
  10. 14 Jun, 2015 1 commit
  11. 10 Jun, 2015 1 commit
  12. 16 Nov, 2014 1 commit
  13. 06 Nov, 2014 1 commit
  14. 26 Mar, 2014 1 commit
  15. 29 Jan, 2014 3 commits
  16. 15 Nov, 2013 1 commit
  17. 09 Nov, 2013 1 commit
  18. 04 Nov, 2013 1 commit
  19. 20 Oct, 2013 1 commit
  20. 02 Oct, 2013 1 commit
  21. 19 Sep, 2013 1 commit
  22. 29 Aug, 2013 1 commit
  23. 25 Jun, 2013 1 commit
  24. 06 Jun, 2013 1 commit
  25. 26 Mar, 2013 1 commit
  26. 31 Jan, 2013 1 commit
  27. 20 Jan, 2013 1 commit
  28. 18 Jan, 2013 1 commit
  29. 21 Dec, 2012 1 commit
  30. 30 Nov, 2012 1 commit
  31. 27 Nov, 2012 2 commits
  32. 03 Nov, 2012 1 commit
  33. 26 Sep, 2012 1 commit
  34. 25 Sep, 2012 1 commit
  35. 17 Sep, 2012 1 commit
  36. 13 Sep, 2012 1 commit