I recently got a new work computer and instead of using Time Machine to restore, I decided to install everything fresh.  I installed Oh My Zsh (which is fantastic by the way) which I used on my previous machine.  My favorite theme is Candy Kingdom.  After switching and relaunching Terminal I noticed the following error after every command prompt display:

zsh: command not found: battery_time_remaining

Turns out it was a simple problem – I had to enable the battery plugin in my ~/.zshrc config file:

plugins=(git battery)

Finding the solution wasn’t straightforward and its been forever since I installed Oh My Zsh.  Now I know and you do too.