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

To be honest, most of that stuff works just fine in BASH too.

http://gist.github.com/277975

That's my bash prompt, doing the same. Except, it doesn't factor in mercurial repositories, but that'll be a breeze to add.

Displaying: (<virtual_env>) user@host [ <folder> ~<branch> <* available changes>]$



Oh yeah, definitely. Like I mentioned in the post it could be pretty easily converted to bash (except for the RPROMPT), I just haven't gotten around to doing it.




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

Search: