Commit graph

18 commits

Author SHA1 Message Date
Sorin Ionescu 94ab5e0ec8 Cleaned up lib/ and removed trailing white space everywhere.
Conflicts:

	oh-my-zsh.sh
2011-06-01 02:48:26 -04:00
Sorin Ionescu 3a444ea70a ZSH has built-in regex support; use it! 2011-02-22 19:30:42 -05:00
Michael Hanson a3505c448f Fix deleted in git.zsh 2011-05-31 15:13:23 -07:00
Juan G. Hurtado 9730de8e66 Adds support for $(current_branch) on git_parse_ahead()
Changes method git_parse_ahead() on git.zsh lib file. Before this
change it checked directly against origin/master branch. Now it
uses $(current_branch) to check for not pushed changes against
the current remote branch.
2011-05-09 13:32:42 +02:00
Juan G. Hurtado f33e196bf0 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
Sorin Ionescu ccdf259468 Added modified while newly added and type change detection to git prompt modified status. 2011-02-03 23:24:33 -05:00
Sven Lito d89d3a2703 merging in changes from robby's repo 2010-10-09 19:11:07 +01:00
Irakli Gozalishvili aa2f553023 Improving git plugin so it can display much more data. 2010-10-09 01:27:40 +02:00
Robby Russell d164123064 Moving current_branch() to git plugin 2010-06-03 12:56:11 -07:00
Robby Russell 210a72b441 Initial implementation of a new plugin system, so that people can managed which aliases/functions they want. 2010-06-03 12:03:26 -07:00
Andy Fowler 2db18cb050 makes git status prompt 4x faster
(via git status -s, benchmarked)
2010-05-04 16:18:57 -04:00
Martin Klepsch 0d00b8a636 Putting Git related aliases into git.zsh to have them in context. 2009-12-19 14:35:57 +01:00
Robby Russell 33f424134e Adding current_branch function, which can be used like: git pull origin master 2009-11-25 12:45:16 -08:00
Toon Claes 57e0d28d33 Modifying changes for issue 25, to fix issue 27 2009-11-09 21:38:40 +01:00
Toon Claes 41d9da7193 Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh 2009-11-09 21:28:17 +01:00
Toon Claes 2ed5139bd6 Joined the appearance so the theme can apply LSCOLORS too 2009-11-04 20:37:18 +01:00
meh ecdd69f328 Fixed issue #25. 2009-11-06 20:55:08 +08:00
Robby Russell 8dd06e3c73 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
Renamed from git.zsh (Browse further)