Permalink
Browse files

adding themes

  • Loading branch information...
mikeyk committed Aug 13, 2012
1 parent f031c5e commit 8a7b219a35c8fa1d8df3d2ee8fab553b638acf92
Showing with 24 additions and 0 deletions.
  1. +24 −0 zsh/themes/prose
View
@@ -0,0 +1,24 @@
function collapse_pwd {
echo $(pwd | sed -e "s,^$HOME,~,")
}
function prompt_char {
}
function battery_charge {
echo `$BAT_CHARGE` 2>/dev/null
}
function virtualenv_info {
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
}
PROMPT='
%{$fg_bold[green]%}$(collapse_pwd)%{$reset_color%}$(hg_prompt_info)$(git_prompt_info) $(prompt_char)'
ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
ZSH_THEME_GIT_PROMPT_CLEAN=""

0 comments on commit 8a7b219

Please sign in to comment.