Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.82 KB

README.md

File metadata and controls

19 lines (11 loc) · 1.82 KB

I'm phasing out Prezto, and my custom prompt, in favor of a lighter setup using Spaceship ZSH


Prezto Theme - prompt.iam.setup

Screenshot

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.

Installation

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.