Hacker News new | ask | show | jobs
by flashingpumpkin 5984 days ago
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>]$

1 comments

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.