• Juan G. Hurtado's avatar
    Adds new prompt methods on Git lib · 077baa7b
    Juan G. Hurtado authored
    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
    077baa7b
Name
Last commit
Last update
..
aliases.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...
rvm.zsh Loading commit data...
spectrum.zsh Loading commit data...
termsupport.zsh Loading commit data...
theme-and-appearance.zsh Loading commit data...