This patch makes git_prompt_status support three new status variables:
- ZSH_THEME_GIT_PROMPT_AHEAD
- ZSH_THEME_GIT_PROMPT_BEHIND
- ZSH_THEME_GIT_PROMPT_DIVERGED
With these extra variables it's easy to see (1) if you have commits in
your local branch that weren't pushed to the remote (AHEAD), (2) if
there are commits in the remote that you haven't merged/rebased yet
(BEHIND) or (3) if you have local unpushed commits AND the remote has
some commits you haven't merged yet (DIVERGED).
Refer to the first line displayed on `git status -b --porcelain`.
An example setup in a .zsh-theme file would be:
ZSH_THEME_GIT_PROMPT_AHEAD="↑"
ZSH_THEME_GIT_PROMPT_BEHIND="↓"
ZSH_THEME_GIT_PROMPT_DIVERGED="↕"
* 'master' of git://github.com/robbyrussell/oh-my-zsh: (146 commits)
auto-upadate feature will now reset the epoch so that if a user doesn't say yes, it won't ask them again for a while. fixes#1240
'rails' command should not be run with bundle exec
utilize sublime's embedded command line binary
escape whitespace
provide plugin for rbfu the ruby version switcher
Remove bogus "-" from nomz="ps -aux" alias.
Added another path
Fix finding git issue. http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script
added jexec
added plugin for jruby
correct the ruby version label for rbenv
theme cleanup
added first version of my theme af-magic
sanitized code according to coding style
rbenv plugin now uses 'brew --prefix rbenv' command to find rbenv folder
remove readlink call and clean up
Explicitly tell rbenv to use zsh
Fixed unmached " in yum plugin
add --directory flag
Updating README to ask people to stop sending themes for now
...
Evaluates $(rbfu --init --auto) if rbfu is installed on the system,
also has a custom rbfu-rubies method which lists the installed
rubies which are available to rbfu.
For compatibility with themes, also creates the rvm_prompt_info
function, so existing themes should work out of the box.