whiteinge/dotfiles — pull request #3 by t-mart (2012-01-26 08:36:17+00:00)
Title: indicate if there are any untracked files

Hey Seth,

I loved your zsh git prompt work. However, I noticed that while you show unstaged and staged changes, you do not show untracked files (something I think vcs_info's "unstaged check" code should do, but doesn't).

So, I wrote a function to check for just that.

Maybe you will find it useful. I didn't take too much liberty in switching the order of information around on _your_ prompt, so I just tacked it on to the misc variable. It does seems kind of out of place not being next to "S" and/or "U", so maybe you can find a place for it next to them somehow.

I won't hold it against you if you don't want to put it in. It's your prompt after all. This is me just saying thanks for the help.

Also, this is my first pull request! So let me know if anything is wrong.

Take care!

-Tim