Commit graph

9 commits

Author SHA1 Message Date
Ashley Dev
53da2d86f6 Reorder functions in file, change default format, remove GIT_PROMPT_INFO_FUNC:
- Reorder the git-prompt.plugin.zsh functions and file order to make it easier
  for beginners to scan and find things.
- The previous default is now in the ashleydev file and the default format
  follows the robbierussle original (in bare basic form).
- GIT_PROMPT_INFO_FUNC is no longer used.  If you want to override the default
  format just define your own git_prompt_info() function in your theme file that
  sets what ever global variables you want to use in your prompt.
2011-06-03 17:37:06 -07:00
Ashley Dev
b33e6b6598 Change the api to use PROMPT='$GIT_PROMPT_INFO# ' instead of PROMPT='$(git_prompt_info)# ' 2011-06-03 14:30:59 -07:00
Ashley Dev
8d819d2b07 API change, and move the ashleydev format into the plugin as the default format.
- usage is now: PROMPT="$(git_prompt_info2) >".
  The legacy git-prompt-old.theme.zsh is using the git_prompt_info() function
  name and I don't want to override that so I set mine to git_prompt_info2
2011-06-02 19:53:50 -07:00
Ashley Dev
51e7a6ebe1 update git-prompt.plugin.zsh to coding standards: shiftwidth=2, and rename some variable names to remove leading underscores 2011-06-02 18:01:44 -07:00
Ashley Dev
b5179f6c49 fix spelling of _git_promt__git_dir 2011-06-02 17:52:02 -07:00
Ashley Dev
9c4f4f501f Add screenshot urls 2011-06-02 16:12:28 -07:00
Ashley Dev
ba0e90d887 fix up the git prompt when it's a fresh repo 2011-06-02 16:11:41 -07:00
Ashley Dev
0a3611c572 add header to theme file 2011-06-02 11:15:00 -07:00
Ashley Dev
384c594abb Update plugins/git:
- move aliases into plugins/git/git-aliases.plugin.zsh
  - move git prompt info into plugins/git/git-prompt-old.plugin.zsh
  - add revamped git prompt info into plugins/git/git-prompt.plugin.zsh
  - plugins/git/git.plugin.zsh now just sources the above files

Added themes/ashleydev.theme.zsh that takes advantage of the new git prompt info
2011-06-02 11:07:00 -07:00