News for hackers. Stuff that matters.
Re:Mastering Bash and Terminal (2017) by heavyset_go on Friday December 10, 2021 @07:16PM (#29517119)
> One of the most important changes I made to my bash setup was to change my prompt to multi line, detect whether I was in a git repo, include the branch in the prompt, and also include a summary of git status.

Check out starship[1] if you haven't already. It's a prompt that does just this and more, and works across shells like Bash, fish, zsh, etc.

[1] https://github.com/starship/starship

Re:Mastering Bash and Terminal (2017) by PeterWhittaker on Friday December 10, 2021 @07:23PM (#29517169)
Thanks! I will definitely check that out!