How to have a nice looking prompt in Rocky Linux

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.

Or paste this here to /etc/bashrc

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.