Oh My Zsh Error About Battery

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.

 

 

One thought on “Oh My Zsh Error About Battery

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s