twolfson / sexy-bash-prompt

Bash prompt with colors, git statuses, and git branches.
MIT License
1.14k stars 154 forks source link

optionally display user.name and user.email #61

Closed szydan closed 8 years ago

szydan commented 8 years ago

Hi First thanks for the awesome project

I work with many repositories and have to commit the code as different users. Quite often if I forget to set specific

git config user.name "name"
git config user.email "email"

I make the commit under my global username and email. Then later I have to fix the commits rewrite github history etc. For me seeing under which username and email is currently set would be very useful. I'm wandering if others would also like such functionality. It could be optional, and disabled by default as most people would like their prompt to be as short as possible.

twolfson commented 8 years ago

Unfortunately, there are a lot of ways someone can customize their shell so customizing for everyone's desires is impractical. I suggest you either: