By default settings, elementary OS command prompt is black in color in the Terminal window, which is same color as that of the command line which you type. This was done to avoid distraction and should be OK for most of us. But, in case you wanted a colored command prompt just like in Linux Mint, you can change it in no time and without the need of installing a third-party tool. In this tip, I’m going to edit the bashrc file to change to colored Command Prompt. This is very safe and completely reversible method.
STEP 1: Go to ‘Applications’ and launch ‘Terminal’.
STEP 2: Type the following command and hit enter.
STEP 3: In the bashrc gedit window, scroll down slightly and look for the following line:
Uncomment that line which means you simply have to delete # in front of it. So finally it should be:
STEP 4: Click ‘Save’ and close the terminal.
STEP 5: Launch ‘Terminal’ again and you will see the colored command prompt.