diff --git a/themes/base.theme.bash b/themes/base.theme.bash index e5e6fceb..364f734d 100644 --- a/themes/base.theme.bash +++ b/themes/base.theme.bash @@ -216,3 +216,12 @@ function scm_char { function prompt_char { scm_char } + +if [ ! -e $BASH_IT/plugins/enabled/battery.plugin.bash ]; then +# if user has installed battery plugin, skip this... + function battery_charge (){ + # no op + echo -n + } +fi +