From 85a4e3028990b6583253308ada3d456c291487d7 Mon Sep 17 00:00:00 2001 From: Christopher Sexton Date: Mon, 14 Sep 2009 12:42:53 -0400 Subject: 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. --- themes/risto.zsh-theme | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 themes/risto.zsh-theme (limited to 'themes/risto.zsh-theme') diff --git a/themes/risto.zsh-theme b/themes/risto.zsh-theme new file mode 100644 index 000000000..cb773a64e --- /dev/null +++ b/themes/risto.zsh-theme @@ -0,0 +1,6 @@ +# -*- sh -*- vim:set ft=sh ai et sw=4 sts=4: +# It might be bash like, but I can't have my co-workers knowing I use zsh +PROMPT='%{$fg[green]%}%n@%m:%{$fg_bold[blue]%}%2~ $(git_prompt_info)%{$reset_color%}%(!.#.$) ' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹" +ZSH_THEME_GIT_PROMPT_SUFFIX="›%{$reset_color%}" -- cgit v1.2.3-70-g09d2