1. 01 Aug, 2016 1 commit
    • Steven's avatar
      Updated git_commits_ahead function (#5247) · 61981951
      Steven authored
      * Function wasn't returning correct value
      * Updated underlying git command
      * Kept echo command from previous function for backwards compatibility
      * Kept function consistent with git_commits_behind
      61981951
  2. 15 Jul, 2016 1 commit
  3. 12 May, 2016 2 commits
  4. 31 Mar, 2016 1 commit
  5. 13 Jan, 2016 1 commit
  6. 17 Dec, 2015 1 commit
    • Marc Cornellà's avatar
      Put `local var` declaration in its own line in lib/git.zsh · 08423849
      Marc Cornellà authored
      In places, the local statement will override the exit code and the written
      command won't have the effect intended when it was written.
      
      For example, when it's not inside a git repo the exit code won't be true,
      but the local statement will make it true regardless. See #4708.
      08423849
  7. 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
  8. 14 Dec, 2015 3 commits
    • moyamo's avatar
      Fix indentation · 71deb745
      moyamo authored
      71deb745
    • moyamo's avatar
      Default to using terminfo to set the terminal title · d7797503
      moyamo authored
      Currently, the title is only set on supported terminals (i.e. xterm,
      urxvt, screen etc.). Using terminfo entries to set the terminal title
      adds support for many more terminals.
      d7797503
    • desrum_m's avatar
      Better research history with arrow keys · 95aa9bd9
      desrum_m authored
      This change enables UP-arrow and DOWN-arrow full-line history completion.
      For example, if you write `git clone` and press UP:
      
      - Before this change,
        it will use the last command that starts with `git`.
      
      - After this change,
        it will use the last command that starts with `git clone`.
      95aa9bd9
  9. 13 Dec, 2015 1 commit
  10. 01 Dec, 2015 4 commits
  11. 30 Nov, 2015 5 commits
  12. 29 Nov, 2015 1 commit
    • Marc Cornellà's avatar
      Fix open_command nohup call · fea74b4b
      Marc Cornellà authored
      There a syntax error if $cmd_var contains more than one word,
      so we drop the current way to prepend nohup and use a simpler
      if-else form.
      fea74b4b
  13. 27 Nov, 2015 2 commits
  14. 09 Oct, 2015 2 commits
  15. 05 Oct, 2015 1 commit
  16. 04 Oct, 2015 1 commit
  17. 23 Sep, 2015 3 commits
  18. 10 Sep, 2015 1 commit
  19. 05 Sep, 2015 3 commits
    • Marc Cornellà's avatar
      Switch off line wrapping in case dots occupy extra line · b42efeb8
      Marc Cornellà authored
      This commit uses the (hopefully) standard rmam and smam escape sequences
      which toggle off and on line wrapping respectively.
      
      This is so that extra dots that don't fit the current line won't be
      displayed in the next line, which would in turn make the shell
      display a new prompt on the next line after the dots are hidden.
      
      I've added a check for $terminfo rmam and smam values to be sure we have
      them before printing them out.
      
      If this commit breaks something post an issue with your terminal
      emulator and $TERM value and we'll figure out what went wrong.
      b42efeb8
    • Marc Cornellà's avatar
      Use prompt expansion sequence to color red the output · 6a8d406e
      Marc Cornellà authored
      This makes it clearer and possibly more portable for different
      platforms.
      6a8d406e
    • Marc Cornellà's avatar
      Use proper if comparison · 3976e040
      Marc Cornellà authored
      3976e040
  20. 04 Sep, 2015 1 commit
    • Andrew Janke's avatar
      diagnostics: switch to shasum, filter sysinfo using lines · 46ddd88f
      Andrew Janke authored
      shasum seems more widely available than md5/md5sum, and we don't have to worry about dealing with the different signatures and output formats of md5 and md5sum then.
      
      sysinfo outputs localized message labels, so we can't just grep for "OS Type". But OS is the first thing it outputs, so we can probably just grab those lines by line number. Switched to doing that.
      46ddd88f
  21. 18 Aug, 2015 3 commits
  22. 09 Aug, 2015 1 commit