1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-27 06:41:58 +00:00
ohmyzsh/lib
Juan G. Hurtado 077baa7bb1 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
2011-04-29 09:22:56 +02:00
..
aliases.zsh Added a function to extract various archives. 2010-12-24 22:20:57 +00:00
completion.zsh Merge remote branch 'upstream/master' 2011-04-20 01:29:58 -04:00
correction.zsh Don't correct hpodder commands. 2010-06-05 23:23:53 +08:00
directories.zsh Added function to mkdir and immediately change to it 2010-12-21 14:28:40 -05:00
functions.zsh Refactor window and tab title in tty 2011-01-30 09:19:47 +01:00
git.zsh Adds new prompt methods on Git lib 2011-04-29 09:22:56 +02:00
grep.zsh Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options 2009-09-23 07:43:36 -07:00
history.zsh Ignore commands that start with a space. 2010-06-05 23:22:57 +08:00
key-bindings.zsh Replace redundant calls to compinit with a single call. 2011-04-08 10:12:22 -04:00
misc.zsh Joined the appearance so the theme can apply LSCOLORS too 2009-11-04 20:37:18 +01:00
rvm.zsh Import rvm prompt 2010-05-28 08:13:17 +08:00
spectrum.zsh escape sequences so rprompt doesn't mess up 2010-05-06 20:46:32 -07:00
termsupport.zsh Refactor DISABLE_AUTO_TITLE to be more DRY 2011-04-04 14:02:50 +02:00
theme-and-appearance.zsh Merge branch 'nicoulaj-theme' of https://github.com/nicoulaj/oh-my-zsh into nicoulaj-nicoulaj-theme 2011-02-21 21:45:00 -08:00