Yep, just still tweaking my ZSH setup, I decided to go ahead and add that battery gauge to my prompt. I’m honestly not sure how useful it will be, but well, it was just really neat, lol.
All credit for the battery gauge goes to Steve Losh, http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/. I did change the colors just a touch, well, really I only bolded them to fit with my prompt theme overall. I’m pretty sure that the battery gauge will only work for Mac laptops, but well, I don’t know python to check the script, so I can’t be 100% certain.
Anyway, I also went through my zshmarks plugin again and added proper return codes, so if you try to ‘go’ to a bookmark that doesn’t exist, or use an existing bookmark name for a new folder, etc., it will return an error code, and that’s shown in my prompt theme whenever the return code is greater than zero.
Everything was just pushed to my fork of oh-my-zsh on github.