NOTE: I’ve a new blog!
I considered to switch to another blogging platform, please read more here
Twitter Updates
- RT @CMPunk: Retweets all day. Except this one. Happy birthday buddy. 7 months ago
Archives
Recent Photos
|
Personal Weblog
Lately I was(and I still) spending more time with Mercurial and being missing a little bits in my Zsh prompt, but google rescued me quickly
All creds to Steve Losh who seems contributed great amount of time explaining his extravagant Zsh prompt which can handle both Git and Mercurial statuses seamlessly and nicely, see his explanatory screenshot:
If your workflow not rely on the latest additions, you don’t maintain your own fork yet or you just new to oh-my-zsh, then you can jump to Steve’s guide and also use his fork of oh-my-zsh.
In the next lines I’ll try to explain the steps to get those bit’s working with the latest(at least as of today) oh-my-zsh. I’ll also cover some installation steps which you can skip if you have oh-my-zsh already installed and know what’s going on there and here
This might be a good idea since we going to modify one core file and add your own theme. So, go to robbyrussell/oh-my-zsh and click “Fork”
This is a bit modified version of Manual Way installation from oh-my-zsh readme, where we using your fork instead of robbyrussel’s.
See what exactly was changed here:
https://github.com/yeevgen/oh-my-zsh/commit/3d4b686750d0586007e5d11d812ef8aebc76c52a
Here is mine, identical to Steve’s prose theme, except battery indicator removed(I’m on desktop) and RVM prompt added:
yeevgen.zsh-theme
Restart your console and enjoy!
Thanks.
I recently added a SVG version of the XTerm color chart to Wikipedia, so you can get infinite resolution color chart out of it. Wonderful for composing your awesome prompts. http://en.wikipedia.org/wiki/xterm