summaryrefslogtreecommitdiff
path: root/themes/geoffgarside.zsh-theme
diff options
context:
space:
mode:
authorChristopher Sexton <csexton@gmail.com>2009-09-14 12:42:53 -0400
committerChristopher Sexton <csexton@gmail.com>2009-09-14 12:42:53 -0400
commit85a4e3028990b6583253308ada3d456c291487d7 (patch)
tree0a5140810bf857cc598516f335662b5a7189a37d /themes/geoffgarside.zsh-theme
parent86925121069b2b33be6f3b76034ebcae98b14592 (diff)
downloadzsh-85a4e3028990b6583253308ada3d456c291487d7.tar.gz
zsh-85a4e3028990b6583253308ada3d456c291487d7.tar.bz2
zsh-85a4e3028990b6583253308ada3d456c291487d7.zip
Added risto theme and made git.zsh themable
* git.zsh is now themable: * git_prompt_info() now will look in the following variables for formatting strings: * ZSH_THEME_GIT_PROMPT_PREFIX - Prefix for the prompt (before the branch name) * ZSH_THEME_GIT_PROMPT_SUFFIX - The very end of the prompt * ZSH_THEME_GIT_PROMPT_DIRTY - Displayed when the branch is dirty * ZSH_THEME_GIT_PROMPT_CLEAN - Displayed when the branch is clean * Updated geoffgarside, robbyrussell, and maran to work with new git theme * Added the Risto theme, which is very similar to a number of bash prompts, and allows me to use zsh in with out my co-workers knowing I have the advantage. Think of it as a ninja theme.
Diffstat (limited to 'themes/geoffgarside.zsh-theme')
-rw-r--r--themes/geoffgarside.zsh-theme3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/geoffgarside.zsh-theme b/themes/geoffgarside.zsh-theme
index 38733d95c..675ec7206 100644
--- a/themes/geoffgarside.zsh-theme
+++ b/themes/geoffgarside.zsh-theme
@@ -1,2 +1,5 @@
# PROMPT="[%*] %n:%c $(git_prompt_info)%(!.#.$) "
PROMPT='[%*] %{$fg[cyan]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}$(git_prompt_info) %(!.#.$) '
+
+ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[yellow]%}git:("
+ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"