[suggestion] RPi - root bash color

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Deleted User 201

[suggestion] RPi - root bash color

Post by Deleted User 201 »

I change the color of root user...the same of menu lines.
Schermata 2015-11-13 alle 10.01.03.png

Code: Select all

sudo pico /root/.bashrc
add this line at bottom of file:

Code: Select all

PS1='\[\e[38;5;93m\][\u@\h \W]\$\[\e[0m\] '
Save, then type

Code: Select all

bash
to see the changes.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: [suggestion] RPi - root bash color

Post by Fourdee »

Interesting, loving the purple, thanks for sharing.

I'll have a play and see what funky colour scheme we can make for DietPi :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply