Posted by matt
on Friday, January 30
Git is one of those programs, like, say vim, which contains more functionality than it seems humanly possible to grasp. Thankfully, there are sites like gitready, which are designed to help us mere mortals to grasp the awesomeness.
I’m very pleased to be able to report that a bit of awesomeness that I’ve been involved in has been listed. Have a look at the ZSH Git Status page and you might see what I mean. That’s right: zshkit is mentioned.
If you’ve not read any of my other posts on it, zshkit is a project, started by Bryce “BonzoESC” Kerley, and forked by various people (I think I just had the honour of being the furthest up the network graph).
Over the next few days, I’m hoping to implement the vcs_info stuff mentioned in the git-ready comments.
Posted by matt
on Monday, October 13
I’ve recently been playing with a cool project on GitHub:
zshkit . It’s a basically just way of organising
your zsh config files, but it’s inspired me to
look at improving my shell productivity and I hope to post a few times about
this.
One of the many changes I made to my fork of
zshkit, is to minimise the prompt. It’s something I’ve not really considered
before, and I’ve pretty much always used something a lot like
gentoo’s
default. Here’s a screenshot of my new prompt and title:

The top line shows the prompt when outside of a
git repository and the bottom shows how it looks
from within one. Normally, it shows the current directory on the left and the
last command’s exit status (a yellow $ means a failure). When I’m inside a
git repository, it shows the current branch, with the branch name coloured
cyan when the repository is clean and magenta when there are pending changes.
This only really works when coupled with a decent title in your terminal. Whilst looking around, I found _why’s which seems to work really well and is what you can see at the top of the screenshot. The next step would seem to be _why’s screenrc, but I don’t really ever use screen, despite being aware of the awesomeness.
My prompt is it github, with everything else:
It’s probably easier to fork your own zshkit and go from there.