For us that like to journal and keep notes of every command we issue and capture screens, having long prompts get in the way a bit.
Especially, when you get an incident and pick up that phone and it says one of the DB/2 hosts is running out of Log space again.
And, the best you can do is say that if it is only at 90% it can likely suffer till the morning.
To get the current prompt issue “echo $PS1”
Let us rid ourselves of all the clutter by dropping all three; username, machine name and the current working directory are all out of here.
To make the change permanently, please edit ~/profile in your editor of choice and add same line.