diff options
author | Juan G. Hurtado <juan.g.hurtado@gmail.com> | 2011-04-29 09:22:56 +0200 |
---|---|---|
committer | Juan G. Hurtado <juan.g.hurtado@gmail.com> | 2011-04-29 09:22:56 +0200 |
commit | 077baa7bb1aba75d3005b7c6e5df4f53e0ea15d1 (patch) | |
tree | e545e8ff921bc48fb10d0ee14123ac9f8efe3bb6 /themes/macovsky.zsh-theme | |
parent | a89d33c0607320e6ce283dff745cb5aecfa19cd4 (diff) | |
download | zsh-077baa7bb1aba75d3005b7c6e5df4f53e0ea15d1.tar.gz zsh-077baa7bb1aba75d3005b7c6e5df4f53e0ea15d1.tar.bz2 zsh-077baa7bb1aba75d3005b7c6e5df4f53e0ea15d1.zip |
Adds new prompt methods on Git lib
Modifies the Git lib file (lib/git.zsh), adding three new prompt
methods:
- git_prompt_ahead(): Shows the content of the custom var
$ZSH_THEME_GIT_PROMPT_AHEAD if the local repository has
commits ahead from the remote origin repository
- git_prompt_short_sha(): Shows last commit SHA hash in short
mode wrapped between the content of the custom vars
$ZSH_THEME_GIT_PROMPT_SHA_BEFORE and
$ZSH_THEME_GIT_PROMPT_SHA_AFTER
- git_prompt_long_sha(): Shows last commit SHA hash in long
mode wrapped between the content of the custom vars
$ZSH_THEME_GIT_PROMPT_SHA_BEFORE and
$ZSH_THEME_GIT_PROMPT_SHA_AFTER
Diffstat (limited to 'themes/macovsky.zsh-theme')
0 files changed, 0 insertions, 0 deletions