Home > OS >  Abnormal centos8 command prompt
Abnormal centos8 command prompt

Time:11-20


Want to use the PS1 change on the color of the command prompt, I didn't think out behind the command prompt with a right parenthesis is this], is in the/etc/profile file to move things, solve??????

CodePudding user response:

Don't add the last]

CodePudding user response:

Or export PS1="[\ e [33; 40 m \] \ [\ u @ \ \ W h] $\ [\ e [0 m \]." "
  • Related