Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I also find it very helpful to spiff up my prompt when changing into a git repo:

http://railstips.org/blog/archives/2009/02/02/bedazzle-your-...




Tried it, for some reason isn't working on my system.

Then found this: http://volnitsky.com/project/git-prompt/ and I'm loving it!


There's a __git_ps1 function that's included with the git bash completion script (edit: it works with zsh, too -- the __git_ps1 function and the completion).




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: