+ added pixelplastic theme that uses the scm plugin

This commit is contained in:
Marcel Hoyer 2012-04-06 12:17:10 +02:00
commit e9773574c6
2 changed files with 14 additions and 1 deletions

View file

@ -52,7 +52,7 @@ function scm_prompt_char() {
} }
function scm_prompt_info_for_git() { git_prompt_info } function scm_prompt_info_for_git() { echo "$(git_prompt_info)$(git_prompt_status)" }
function scm_prompt_info_for_hg() {} function scm_prompt_info_for_hg() {}
function scm_prompt_info_for_svn() {} function scm_prompt_info_for_svn() {}

View file

@ -0,0 +1,13 @@
# see http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html for color codes
PROMPT_PREFIX="$(xterm_color 243 '%n')$(xterm_color 240 '@')$(xterm_color 238 '%m')"
PROMPT='$PROMPT_PREFIX $(xterm_color 76 "${PWD/#$HOME/~}") $SCM_PROMPT_INFO
$(scm_prompt_char)> '
RPROMPT='$RPROMPT_SUFFIX'
ZSH_THEME_GIT_PROMPT_PREFIX="on $(xterm_color_open 220)"
ZSH_THEME_GIT_PROMPT_SUFFIX="$(xterm_color_reset)"
ZSH_THEME_GIT_PROMPT_DIRTY=" $(xterm_color 196 '(!)')"
ZSH_THEME_GIT_PROMPT_UNTRACKED=" $(xterm_color 33 '(+)')"
ZSH_THEME_GIT_PROMPT_CLEAN=""