How do I change the prompt color in bash?

How do I change the prompt color in bash?
Answer
Bash allows these prompt strings to be customized by inserting a number of backslash-escaped special characters.
…
Task: Adding colors to the prompt
  1. e[ : Start color scheme.
  2. x;y : Color pair to use (x;y)
  3. $PS1 : Your shell prompt variable.
  4. e[m : Stop color scheme.
29 окт. 2020 г.
 

Tìm kiếm

Back
Top