This is my current prompt:

user@machine ~/Projects/git/repo (git)-[name_of_the_branch] %

I want it to show me that there are Stash revisions by appending a 'S', like this:

user@machine ~/Projects/git/repo (git)-[name_of_the_branch][S] %

And the 'S' should be green :)

An even better way would be to append the number of stashed revision.

user@machine ~/Projects/git/repo (git)-[name_of_the_branch][Number_of_stashed_revisions] %

What do I need to change in .zshrc?

This is my current .zshrc file

https://gist.github.com/801944

link|improve this question

Wow! A 4348-line rc file! – Dennis Williamson Jan 29 '11 at 16:24
@Dennis: Nice eh? there is more lines in .zshrc_local:) Feel free to use it. It is awesome. – Nerian Jan 29 '11 at 16:25
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.