Commit graph

103 commits

Author SHA1 Message Date
Robin Ramael
b989ec489c 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-10 17:11:46 +01:00
Suraj N. Kurapati
943e09cd84 add "fishy" theme to emulate Fish shell's prompt 2010-12-28 20:36:29 -08:00
Robby Russell
4fadc30247 Merge branch 'kardan' of https://github.com/kardan/oh-my-zsh into kardan-kardan 2010-12-07 08:08:22 -08:00
Daniel Karlsson
17c6c03760 Updated the PROMT. 2010-12-03 15:58:18 +01:00
Daniel Karlsson
0e2d289fff Added new kardan theme. 2010-12-03 15:51:34 +01:00
Igor Vinokurov
d230d2e519 gentoo-like theme w/ git_prompt_info 2010-12-02 03:49:13 +03:00
Ubiratan Pires Alberton
72d7c0363c Added my own theme, based on macovsky-ruby and funky 2010-11-14 10:21:28 -02:00
Robby Russell
d1c8ef46e0 Merge branch 'master' of http://github.com/philtr/oh-my-zsh into philtr-master 2010-10-09 09:58:20 -07:00
Robby Russell
69e611e2a9 Merge branch 'philips-theme' of http://github.com/philips/oh-my-zsh into philips-philips-theme 2010-10-09 09:57:37 -07:00
Irakli Gozalishvili
061ea5c7c9 changeing unicode characters that were causing issues 2010-10-09 18:06:00 +02:00
Brandon Philips
df1e305736 themes: add philips theme
Theme based on clean that is more suitable for white background
terminals.

Signed-off-by: Brandon Philips <brandon@ifup.org>
2010-10-08 22:59:22 -07:00
Irakli Gozalishvili
deb0f7478b Fixing some minor redrew issue 2010-10-09 02:16:10 +02:00
Irakli Gozalishvili
b6dde1e8cf Adding new gozilla theme 2010-10-09 01:49:35 +02:00
Phillip Ridlen
d53d0eac07 Add cloud.zsh-theme 2010-10-05 17:06:08 -05:00
Luke Randall
a4afcfddbf Add lukerandall.zsh-theme 2010-10-01 06:29:34 -07:00
Robby Russell
7a09175bb4 Merge branch 'master' of http://github.com/kennethreitz/oh-my-zsh into kennethreitz-master 2010-09-30 21:04:59 -07:00
Jake Bell
6764e50397 Added theunraveler theme. 2010-09-25 00:48:19 -05:00
Kenneth Reitz
fbc22d80fe Added the truly epic kennethreitz theme. 2010-08-30 14:59:23 -04:00
Robby Russell
ed90f182ef Merge branch 'master' of github.com:robbyrussell/oh-my-zsh 2010-08-19 08:04:26 -07:00
Matt Fletcher
306cea0945 add fletcherm theme; a slightly modified copy of an old tonotdo theme 2010-08-19 22:29:17 +08:00
Daniel Schauenberg
75de90dc9e add simple mrtazz theme based on robbyrussell
- simple theme
- hostname and current folder on left prompt
- git branch and working tree status on the right
2010-08-19 07:27:05 -07:00
Robby Russell
622ee4ceb2 Merge branch 'master' of http://github.com/AlexBio/oh-my-zsh into AlexBio/master 2010-08-19 07:20:00 -07:00
Josh Price
1582570919 Made the user_machine_size calculation generic. Pwned the function name. 2010-08-19 07:17:50 -07:00
Josh Price
eb14ee1c63 Added my own theme based on pat's 2010-08-19 07:17:31 -07:00
Alessandro Ghedini
5b8bc7aeeb add candy theme 2010-08-16 21:47:21 +02:00
Takashi Yoshida
47e9914529 Added my own theme. 2010-06-05 23:24:21 +08:00
MasterLambaster
81aa74b73c Eastwood theme with optional RVM support 2010-06-04 02:43:24 +08:00
Joseph Bergantine
eb0f3c0234 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
Vincent Driessen
c5c870ac05 Added customized version of the wezm theme (mainly added username/host in the prompt). 2010-05-28 08:14:13 +08:00
Thomas J Bradley
f2f34f5404 Added my zsh theme file, heavily based on sjl's 2010-05-28 08:13:36 +08:00
Alan Harper
0dbfeb9c23 aussiegeek theme (include showing rvm prompt) 2010-05-28 08:13:17 +08:00
lunks
f02c9560b3 macowsky modified theme with ruby version on prompt 2010-05-28 08:09:57 +08:00
lunks
8247cbf8b5 modified macovsky to support ruby version 2010-05-28 08:09:57 +08:00
Hayes Williams
0a2a981dfe Adds a new theme that only seems to work on Linux 2010-05-27 09:54:14 -07:00
Doug Fritz
456834b9ea added skaro theme 2010-05-08 04:32:35 +08:00
Edvard Majakari
081deba3c4 added my theme 2010-05-08 04:32:03 +08:00
Dave Verwer
97aac4acb5 New theme "daveverwer", based on "geoffgarside". 2010-05-08 04:30:50 +08:00
Parker McGee
d8a10dbba5 added my own theme 2010-05-08 04:29:58 +08:00
Andy Fowler
a649b2d410 happy with my theme. caret turns red for root 2010-05-08 04:29:21 +08:00
Andy Fowler
6213f3304f my WIP theme 2010-05-08 04:28:40 +08:00
Christopher Chow
458da5895a Added my own theme. 2010-05-08 04:27:15 +08:00
Ryan McCuaig
08a90297fe Add my preferred prompt 2010-05-08 04:26:47 +08:00
dstufft
147acd2237 added the dstufft theme (based on prose by sjl) 2010-05-08 04:26:15 +08:00
Matthew Gadd
36f1f4e515 Add my oh-my-zsh theme 2010-05-08 04:24:24 +08:00
Mike Hostetler
e3b9e98153 added my theme, based on xiong-chiamiov-plus but using vcs_info
instead of just git
2010-05-08 04:23:01 +08:00
Mario Gutierrez
1d03ea5342 my theme 2010-05-08 04:20:59 +08:00
Robby Russell
86d0cd380d Merge branch 'master' of github.com:robbyrussell/oh-my-zsh 2010-05-07 13:20:38 -07:00
Robby Russell
19ead08382 Merge remote branch 'NV/master' 2010-05-07 13:20:30 -07:00
Jon Duell
cd9a85500e Adds new duellj theme 2010-05-08 04:20:10 +08:00
Robby Russell
7a9d4ceb75 Merge remote branch 'jreese/master' 2010-05-07 13:16:50 -07:00