ohmyzsh/themes
Robin Ramael a6ad9d6775 Infrastructure for displaying scm info in prompt + implemented for git and svn
this should not break the old way of putting git info in the prompt.

Also changed awesomepanda theme to use the new scm architecture.

for users:
this works the same as plugins: the scms variable is set in ~/.zshrc with a list of SCM for which info should be displayed in the prompt, as simple as that.

for theme developers:
instead of calling the git_prompt_info function, you can call the get_scm_prompt, which will display info for all the scms in the scms variable.
the following variables can be used in the old git-way:

ZSH_THEME_SCM_PROMPT_PREFIX: before everything but the scm's name (svn, git, ..)
ZSH_THEME_SCM_PROMPT_SUFFIX: after everything
ZSH_THEME_SCM_PROMPT_DIRTY: displayed when the repo is dirty
ZSH_THEME_SCM_PROMPT_CLEAN	displated when the repo is clean

by default, the name of the scm (git, svn, ...) is not displayed before the scm info, but this can be changed by setting the ZSH_THEME_SCM_DISPLAY_NAME to 1.

for scm-plugin developers:
to make an scm plugin with the name 'foo':
add a script called 'foo.scm.zsh' in to the scm folder. this script has to contain two functions:
    scm_in_foo_repo: checks wether we are in a foo repo, usually by checking if a .foo folder is present
    scm_foo_prompt_info: returns the prompt which follows the rules outlined above (in the "for theme developers"-section)
2011-01-09 16:25:57 +01:00
..
afowler.zsh-theme happy with my theme. caret turns red for root 2010-05-08 04:29:21 +08:00
arrow.zsh-theme git:(master) --> git:master 2010-03-16 23:44:01 +03:00
aussiegeek.zsh-theme aussiegeek theme (include showing rvm prompt) 2010-05-28 08:13:17 +08:00
awesomepanda.zsh-theme Infrastructure for displaying scm info in prompt + implemented for git and svn 2011-01-09 16:25:57 +01:00
bira.zsh-theme Added my own theme, based on macovsky-ruby and funky 2010-11-14 10:21:28 -02:00
candy.zsh-theme add candy theme 2010-08-16 21:47:21 +02:00
clean.zsh-theme clean theme: username is now bold 2010-01-02 17:59:11 -03:00
cloud.zsh-theme Add cloud.zsh-theme 2010-10-05 17:06:08 -05:00
cypher.zsh-theme Fix cypher's theme for older zsh versions 2009-10-06 23:19:43 +02:00
dallas.zsh-theme updated my theme with the date and git branch (+ dirty or not) 2010-05-07 11:17:12 -07:00
darkblood.zsh-theme Fixed darkblood theme as in issue #23. 2009-11-09 07:15:06 +08:00
daveverwer.zsh-theme New theme "daveverwer", based on "geoffgarside". 2010-05-08 04:30:50 +08:00
dst.zsh-theme Add my oh-my-zsh theme 2010-05-08 04:24:24 +08:00
dstufft.zsh-theme added the dstufft theme (based on prose by sjl) 2010-05-08 04:26:15 +08:00
duellj.zsh-theme Adds new duellj theme 2010-05-08 04:20:10 +08:00
eastwood.zsh-theme Eastwood theme with optional RVM support 2010-06-04 02:43:24 +08:00
edvardm.zsh-theme added my theme 2010-05-08 04:32:03 +08:00
evan.zsh-theme Adding Evan's skinny, topless prompt. 2009-08-31 09:27:35 -07:00
example.zsh-theme Adding theme support so that people can share their zsh prompts with others. Users can set which theme to load in zshrc now. 2009-08-31 07:45:31 -07:00
fishy.zsh-theme add "fishy" theme to emulate Fish shell's prompt 2010-12-28 20:36:29 -08:00
fletcherm.zsh-theme add fletcherm theme; a slightly modified copy of an old tonotdo theme 2010-08-19 22:29:17 +08:00
funky.zsh-theme Adding theme support so that people can share their zsh prompts with others. Users can set which theme to load in zshrc now. 2009-08-31 07:45:31 -07:00
gallifrey.zsh-theme Gallifrey theme 2009-11-13 05:10:21 +01:00
garyblessington.zsh-theme Fixed all themes so tab-completion doesn't move the cursor to a weird position 2009-11-09 22:05:00 +01:00
gentoo.zsh-theme gentoo-like theme w/ git_prompt_info 2010-12-02 03:49:13 +03:00
geoffgarside.zsh-theme Added risto theme and made git.zsh themable 2009-09-14 12:42:53 -04:00
gozilla.zsh-theme changeing unicode characters that were causing issues 2010-10-09 18:06:00 +02:00
imajes.zsh-theme minimalist 2009-09-22 23:02:18 +01:00
jbergantine.zsh-theme adding my zsh theme -- only difference from robby's being that i'm using white instead of blue for legibility over brown 2010-05-28 08:15:39 +08:00
jnrowe.zsh-theme Added initial jnrowe theme. 2009-11-09 07:15:52 +08:00
josh.zsh-theme Made the user_machine_size calculation generic. Pwned the function name. 2010-08-19 07:17:50 -07:00
jreese.zsh-theme Remove limit of two segments to PWD 2010-04-08 15:07:43 -04:00
kardan.zsh-theme Updated the PROMT. 2010-12-03 15:58:18 +01:00
kennethreitz.zsh-theme Added the truly epic kennethreitz theme. 2010-08-30 14:59:23 -04:00
linuxonly Adds a new theme that only seems to work on Linux 2010-05-27 09:54:14 -07:00
lukerandall.zsh-theme Add lukerandall.zsh-theme 2010-10-01 06:29:34 -07:00
macovsky-ruby.zsh-theme macowsky modified theme with ruby version on prompt 2010-05-28 08:09:57 +08:00
macovsky.zsh-theme modified macovsky to support ruby version 2010-05-28 08:09:57 +08:00
maran.zsh-theme Fixed all themes so tab-completion doesn't move the cursor to a weird position 2009-11-09 22:05:00 +01:00
mgutz.zsh-theme my theme 2010-05-08 04:20:59 +08:00
mikeh.zsh-theme added my theme, based on xiong-chiamiov-plus but using vcs_info 2010-05-08 04:23:01 +08:00
mrtazz.zsh-theme add simple mrtazz theme based on robbyrussell 2010-08-19 07:27:05 -07:00
philips.zsh-theme themes: add philips theme 2010-10-08 22:59:22 -07:00
pmcgee.zsh-theme added my own theme 2010-05-08 04:29:58 +08:00
rgm.zsh-theme Add my preferred prompt 2010-05-08 04:26:47 +08:00
risto.zsh-theme Added risto theme and made git.zsh themable 2009-09-14 12:42:53 -04:00
robbyrussell.zsh-theme Added risto theme and made git.zsh themable 2009-09-14 12:42:53 -04:00
skaro.zsh-theme added skaro theme 2010-05-08 04:32:35 +08:00
Soliah.zsh-theme Added my own theme. 2010-05-08 04:27:15 +08:00
sporty_256.zsh-theme Fixed color in last character of clean git info 2010-05-06 20:46:32 -07:00
takashiyoshida.zsh-theme Added my own theme. 2010-06-05 23:24:21 +08:00
theunraveler.zsh-theme Added theunraveler theme. 2010-09-25 00:48:19 -05:00
thomasjbradley.zsh-theme Added my zsh theme file, heavily based on sjl's 2010-05-28 08:13:36 +08:00
tonotdo.zsh-theme tonotdo theme: Back to the original 2009-11-13 23:55:37 +01:00
wezm+.zsh-theme Added customized version of the wezm theme (mainly added username/host in the prompt). 2010-05-28 08:14:13 +08:00
wezm.zsh-theme Add my own theme 2009-10-08 09:50:32 +11:00
xiong-chiamiov-plus.zsh-theme fork xiong-chiamiov theme for git support 2009-12-27 21:26:23 -08:00
xiong-chiamiov.zsh-theme add xiong-chiamiov theme 2009-10-05 19:23:12 -07:00