xshell and command line theme color (centos 7)

Import theme

Theme Download

https://files.cnblogs.com/files/oskyhg/skycolor.zip

Import theme

 Tools ---> Color Scheme -> Import

 

 

 

 

 

Linux set of PS1

(1) Temporary solution:

Command line run directly: PS1 = '[\ [\ e [37; 40m \] \ u @ \ h \ w] $ \ [\ e [0m \]'

(2) Permanent program (need to modify the host configuration, the production environment is not recommended to modify or container)

Edit .bashrc file

we /root/.bashrc

 

PS1 = ' [\ [\ e [37; 40m \] \ u @ \ h \ w] $ \ [\ e [0m \] '

Results are as follows

 

 

 Note: Color and Meaning PS1 related parameter configuration your own google

Guess you like

Origin www.cnblogs.com/oskyhg/p/12152159.html
Recommended