0

I want to change the color of my terminal prompt to black color which is now in green color.

terminal screenshot

grooveplex
  • 2,486
  • 3
  • 25
  • 35
  • You probably didn't search a lot before asking here : [BASH Shell: Change The Color of Shell Prompt on Linux or UNIX](https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/) [In bash how can I change the color of my command prompt?](https://unix.stackexchange.com/questions/16120/in-bash-how-can-i-change-the-color-of-my-command-prompt) – Félicien Feb 14 '18 at 13:54
  • is there any software available for this purpose? – Mohit Sood Feb 14 '18 at 15:53
  • I don't know if there is a software, but you can use generator like this one http://bashrcgenerator.com/ – Félicien Feb 14 '18 at 15:55
  • You can create your prompt on the website, and then you copy the generated line at the end of your ~/.bashrc file – Félicien Feb 14 '18 at 15:56

1 Answers1

0

If your term is in an X window, change the line
xterm-color|-256color) color_prompt=yes;;
to
xterm-color|
-256color) color_prompt=no;;
in .bashrc