1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-26 22:31:59 +00:00
ohmyzsh/lib
Adam Lindberg 2d40cc0bb3 Add git_prompt_behind and git_prompt_exists
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.
2015-06-10 14:36:55 +02:00
..
bzr.zsh Modification to the frisk theme to work with the BZR lib 2013-11-06 20:10:59 -02:00
completion.zsh Do not put explicit dot in $cdpath, since it causes problems on Cygwin due to an underlying zsh bug. 2015-02-16 10:24:22 -05:00
correction.zsh Ordering nocorrect aliases alphabetically 2014-05-24 20:07:06 +02:00
directories.zsh Bring back -h option to ls variants 2015-02-15 11:37:28 -08:00
functions.zsh Replace /usr/bin/env with env 2014-08-20 23:52:05 +02:00
git.zsh Add git_prompt_behind and git_prompt_exists 2015-06-10 14:36:55 +02:00
grep.zsh Test if --color=auto is a valid option for grep 2015-02-02 20:49:24 +01:00
history.zsh Refactors history alias and moves it. 2015-02-10 19:22:39 +01:00
key-bindings.zsh Moves a bindkey call from misc to key-bindings. 2015-02-10 19:22:39 +01:00
misc.zsh Recognize comments by default. 2015-06-10 14:36:54 +02:00
nvm.zsh Quote path in case $HOME has a space in it. 2014-12-16 13:22:31 -08:00
prompt_info_functions.zsh No need to eval in rvm_prompt_info! 2014-01-07 19:08:20 +01:00
spectrum.zsh Updates spectrum.zsh 2013-12-31 14:54:34 +01:00
termsupport.zsh Extract CWD notifier back out of auto-title hooks 2015-02-13 15:57:18 +01:00
theme-and-appearance.zsh Clean up appearance lib file and redundant colors calls in other files 2015-02-10 19:22:50 +01:00