From a8a3933e1c4846155dfe92aa9e3f49daa18564ab Mon Sep 17 00:00:00 2001 From: lepht Date: Tue, 5 Mar 2013 00:09:06 -0500 Subject: [PATCH] Added info and screenshot for powerline theme --- modules/prompt/functions/prompt_powerline_setup | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/prompt/functions/prompt_powerline_setup b/modules/prompt/functions/prompt_powerline_setup index 6e0847c9..970095cc 100644 --- a/modules/prompt/functions/prompt_powerline_setup +++ b/modules/prompt/functions/prompt_powerline_setup @@ -1,3 +1,13 @@ +# +# A [powerline](https://github.com/Lokaltog/vim-powerline) theme for prezto, +# based on the [oh-my-zsh-powerline-theme](https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme) +# +# Author: +# lepht +# +# Screenshots: +# http://i.imgur.com/Z6XIuT9.png + git_prompt_info () { ref=$(git symbolic-ref HEAD 2> /dev/null) || ref=$(git rev-parse --short HEAD 2> /dev/null) || return echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_SUFFIX" @@ -87,3 +97,5 @@ function prompt_powerline_setup { RPROMPT=$POWERLINE_GIT_INFO_RIGHT$POWERLINE_COLOR_FG_WHITE$'\u2b82'"%f$POWERLINE_COLOR_BG_WHITE $POWERLINE_COLOR_FG_GRAY$POWERLINE_RIGHT_B "$'\u2b82'"%f%k$POWERLINE_COLOR_BG_GRAY$POWERLINE_COLOR_FG_WHITE $POWERLINE_RIGHT_A %f%k" } + +# vim:ft=zsh