mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 12:20:09 +00:00
2d40cc0bb3
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. |
||
---|---|---|
.. | ||
bzr.zsh | ||
completion.zsh | ||
correction.zsh | ||
directories.zsh | ||
functions.zsh | ||
git.zsh | ||
grep.zsh | ||
history.zsh | ||
key-bindings.zsh | ||
misc.zsh | ||
nvm.zsh | ||
prompt_info_functions.zsh | ||
spectrum.zsh | ||
termsupport.zsh | ||
theme-and-appearance.zsh |