updated brunton theme to use battery_charge

pull/261/head
Ben Brunton 2014-11-13 09:17:04 +00:00 committed by Hector Rivas
parent 1a74e54b3f
commit 21ff8b9297
1 changed files with 1 additions and 8 deletions

View File

@ -24,15 +24,8 @@ scm_prompt() {
fi
}
safe_battery_charge() {
if [ -e "${BASH_IT}/plugins/enabled/battery.plugin.bash" ];
then
battery_charge
fi
}
prompt() {
PS1="${white}${background_blue} \u${normal}${background_blue}@${red}${background_blue}\h ${blue}${background_white} \t ${reset_color}${normal} $(safe_battery_charge)
PS1="${white}${background_blue} \u${normal}${background_blue}@${red}${background_blue}\h ${blue}${background_white} \t ${reset_color}${normal} $(battery_charge)
${bold_black}${background_white} \w ${normal}$(scm_prompt)$(is_vim_shell)
${white}>${normal} "