Sample Header Ad - 728x90

Setting Colors in ~/.bashrc [CentOS 7]

0 votes
1 answer
6814 views
I'm trying to set colors within my .bashrc. I would like my background to be black, bash prompt text to be white and input text to be lime green. I have this so far: export PS1="[\e[1;37;40m[\u@\W]\$ " however I am unable to change my input text to lime green.
Asked by LinuxLamen (1 rep)
May 2, 2019, 04:41 AM
Last activity: Jun 17, 2025, 06:03 AM