• Adam Lindberg's avatar
    Add git_prompt_behind and git_prompt_exists · 2d40cc0b
    Adam Lindberg authored
    This adds two new theme functions for git:
    * `git_prompt_behind` works in a identical fashion to `git_prompt_ahead`
      and will output a format variable (`ZSH_THEME_GIT_PROMPT_BEHIND`) if
      the branch is behind.
    * `git_prompt_remote` will output one format variable if the branch
      exists on remote (`ZSH_THEME_GIT_PROMPT_REMOTE_EXISTS`), and another
      if the branch is unpublished (`ZSH_THEME_GIT_PROMPT_REMOTE_MISSING`).
    
    The old `git_prompt_ahead` has been changed. Using git log is subject
    to formatting in .gitconfig, which can be overridden and will break
    this function. Relying on rev-list is much more stable.
    2d40cc0b
Name
Last commit
Last update
..
bzr.zsh Loading commit data...
completion.zsh Loading commit data...
correction.zsh Loading commit data...
directories.zsh Loading commit data...
functions.zsh Loading commit data...
git.zsh Loading commit data...
grep.zsh Loading commit data...
history.zsh Loading commit data...
key-bindings.zsh Loading commit data...
misc.zsh Loading commit data...
nvm.zsh Loading commit data...
prompt_info_functions.zsh Loading commit data...
spectrum.zsh Loading commit data...
termsupport.zsh Loading commit data...
theme-and-appearance.zsh Loading commit data...