Fix “zsh: command not found: battery_pct_prompt ” error

I recently decided to give a try to Zsh and to the Zsh framework Oh my Zsh. It was a great new experience.

Oh my ZSH support a load of themes and very useful plugins.

I decided to try the_poncho theme. Once installed I got the following error every time I open a terminal and/or run a command :

This error is quite simple to solve.


You have to enable battery plugin in your ~/.zshrc file :

plugins=(git battery)

Reload your ~/.zshrc file and your are done :


  • janbo

    I already have this but still receiving the same error