NOTE: I’ve a new blog!
I considered to switch to another blogging platform, please read more here
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:
Restart your console and enjoy!