From c279e2af8f0a0d2e3791012b526b7b6b09c97b86 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Wed, 18 Aug 2010 03:54:54 -0400 Subject: [PATCH] themes/prose: remove the battery charge prompt --- themes/prose.zsh-theme | 6 ------ 1 file changed, 6 deletions(-) diff --git a/themes/prose.zsh-theme b/themes/prose.zsh-theme index cab930f87..74c59c071 100644 --- a/themes/prose.zsh-theme +++ b/themes/prose.zsh-theme @@ -4,10 +4,6 @@ function prompt_char { echo '○' } -function battery_charge { - echo `$BAT_CHARGE` 2>/dev/null -} - function virtualenv_info { [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' } @@ -24,8 +20,6 @@ PROMPT=' %{$fg[magenta]%}%n%{$reset_color%} at %{$fg[yellow]%}%m%{$reset_color%} in %{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(hg_prompt_info)$(git_prompt_info) $(virtualenv_info)$(prompt_char) ' -RPROMPT='$(battery_charge)' - ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"