Well, Gentoo isn’t all bad.
It has a very nice prompt.
It displays the root user in RED and the non-root user in GREEN.
So in order to have a nice looking prompt in Rocky Linux, just copy the Gentoo /etc/bash/bashrc to /etc/bashrc in Rocky.
Continue reading “How to have a nice looking prompt in Rocky Linux”