I've found having my current git branch shown in my prompt is extremely useful to prevent committing on the wrong branch. YMMV.
That’s pretty handy actually. Thanks for the idea.
Well, the default prompt you have may already have been customized by operating system vendor (Linux distro) and not be the real bash default.
Try this to get the real default:
PS1='[\u@\h \W]\$ '
PS1='$ '
or
PS!='# '
I do for my linux systems, but I now have to use a Mac for work and can't stand the default. Happy to use this tool to spitball something new.
I leave the one on remote hosts the same. I work mostly on a terminal in my laptop locally and mostly just have the time and the command number listed so I can see things in the scrollback.
Do you use Linux as your main OS on your desktop or laptop. If so, how much do you use the terminal and what for?
I use a Mac connected to various Linux nodes via ssh. Development and sysadmin work.