1. 17 May, 2018 2 commits
    • 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
    • dt-rush's avatar
      unset chpwd_functions before running cd to work with the path, to avoid... · 3dab7e46
      dt-rush authored
      unset chpwd_functions before running cd to work with the path, to avoid side-effects if the user has set any chpwd_functions which cause output, such as is the case if the user is using auto-ls (#6830)
      
      3dab7e46
  2. 16 May, 2018 3 commits
  3. 15 May, 2018 3 commits
  4. 14 May, 2018 2 commits
  5. 13 May, 2018 2 commits
  6. 12 May, 2018 2 commits
  7. 11 May, 2018 1 commit
  8. 10 May, 2018 1 commit
  9. 09 May, 2018 1 commit
  10. 08 May, 2018 2 commits
  11. 07 May, 2018 5 commits
  12. 06 May, 2018 1 commit
  13. 05 May, 2018 1 commit
  14. 01 May, 2018 1 commit
  15. 30 Apr, 2018 1 commit
    • Oliver Baumann's avatar
      Parse branch-name for fresh repo (#6302) · 493c3095
      Oliver Baumann authored
      Inside a fresh git repo, i.e. immediately after a `git init`, usually no
      commit template exists yet. In this case, git renders a different
      status message than "Initial commit on". We should consider this message
      when attempting to parse out the branch name.
      
      Fixes #6301
      493c3095
  16. 28 Apr, 2018 1 commit
  17. 27 Apr, 2018 1 commit
  18. 25 Apr, 2018 4 commits
  19. 24 Apr, 2018 2 commits
  20. 23 Apr, 2018 4 commits