1. 01 Jul, 2020 1 commit
    • Kyle Laker's avatar
      agnoster: fix git working tree check (#9072) · d24a9dbc
      Kyle Laker authored
      
      
      `git rev-parse --is-inside-work-tree` does not have a different exit
      code when not within a work tree; the difference is in the output,
      either "true" when in a work tree, or "false" when not.
      
      The if was modified similarly to the check for the hide-status config,
      which also parses command output rather than exit code.
      Co-authored-by: default avatarKyle Laker <klaker@easydynamics.com>
      d24a9dbc
  2. 18 Feb, 2020 1 commit
  3. 06 Aug, 2019 1 commit
  4. 31 Jul, 2019 1 commit
  5. 18 Apr, 2019 1 commit
  6. 23 Mar, 2019 1 commit
  7. 17 Oct, 2018 1 commit
  8. 26 Sep, 2018 1 commit
  9. 25 Sep, 2018 1 commit
    • Carlo Dapor's avatar
      Fix agnoster initial diagnostic error · afa8dc46
      Carlo Dapor authored
      This PR fixes the runtime error that displays this:
      
      ```log
      prompt_status:2: symbols: attempt to assign array value to non-array
      ```.
      
      It trips over a local array which is not properly declared.
      afa8dc46
  10. 24 Sep, 2018 1 commit
  11. 19 Aug, 2018 1 commit
    • Frederic Crozat's avatar
      Agnoster: solarized light variant (#4680) · e4d2d27a
      Frederic Crozat authored
      * agnoster: do not hardcode black foreground.
      
      This would allow easy customization when using light color schemes, like
      solarized-light
      
      * agnoster: implement light theme variant
      
      Use same variable as in blinks theme, to detect if solarized theme used
      is a light or dark one.
      e4d2d27a
  12. 07 Aug, 2018 1 commit
    • Janosch Schwalm's avatar
      use https everywhere (#6574) · 19b925e7
      Janosch Schwalm authored
      * use https everywhere
      
      * use https links on the files that are left
      
      Also, removed some broken links and updated redirections.
      19b925e7
  13. 23 May, 2018 1 commit
    • Marc Cornellà's avatar
      Revert fbcda4d5 · 8f3737f4
      Marc Cornellà authored
      The PROMPT building method clashes with other themes and
      plugins that modify the PROMPT variable.
      
      Also reverted the $jobstates trick due to it not working
      inside $PROMPT.
      8f3737f4
  14. 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
  15. 21 Sep, 2016 1 commit
  16. 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
  17. 22 Jul, 2016 1 commit
  18. 08 Nov, 2015 1 commit
  19. 07 Nov, 2015 1 commit
  20. 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
  21. 03 Jul, 2015 1 commit
  22. 26 Jun, 2015 1 commit
  23. 14 Jun, 2015 1 commit
  24. 10 Jun, 2015 1 commit
  25. 16 Nov, 2014 1 commit
  26. 06 Nov, 2014 1 commit
  27. 26 Mar, 2014 1 commit
  28. 29 Jan, 2014 3 commits
  29. 15 Nov, 2013 1 commit
  30. 09 Nov, 2013 1 commit
  31. 04 Nov, 2013 1 commit
  32. 20 Oct, 2013 1 commit
  33. 02 Oct, 2013 1 commit
  34. 19 Sep, 2013 1 commit
  35. 29 Aug, 2013 1 commit
  36. 25 Jun, 2013 1 commit
  37. 06 Jun, 2013 1 commit
  38. 26 Mar, 2013 1 commit