I'm phasing out Prezto, and my custom prompt, in favor of a lighter setup using Spaceship ZSH
I recently made the jump from BASH to ZSH (this helped me get started), and settled on Prezto as my configuration framework. I worked my way through every theme I could find, but none of them did exactly what I wanted. So I started fiddling around, and cobbled together my favorite bits of functionality from the different themes I came across.
Despite being a theme for Oh-My-ZSH, I ended up using itg.zsh-theme as my starting point. I was really intrigued by the GitHub status display, and wanted to try and replicate something similar using Prezto's Git module. I got it working(somewhat), and discovered that it was not as intuitive as I was hoping. I ended up cribbing the Git status from Pristine, and I have been quite happy so far.
I also pulled a few pieces from Steve Losh's Extravagent ZSH Prompt, namely the right-prompt battery status. For simplicities sake, I have included the script in this repo.
To install the theme, copy the prompt_iam_setup file into your ~/.zprezto/modules/prompt/functions folder.
To install the battery status script, place the file in your ~/bin/ (make sure it's in your path), and you'll be good to go.