linux experience accumulated (modify color catalog, modify the user name color

1. Modify the user color people

The vim .bashrc under the home directory (if no test folder below the root file came from)
with / PS1 find this location Add the following code is quite nice color to Figure
must perform source
Here Insert Picture Description

2. After modifying the color ll directory

Ubuntu without DIR_COLORS files, so executed

cd ~ # home directory
dircolors -p> .dircolors

After generating .dircolors file editing with vim
find DIR 01; 34 # 01 34 blue highlighted
instead DIR 02; 34
exit and then landing can
refer to: modify the color of linux directory

Published 11 original articles · won praise 1 · views 235

Guess you like

Origin blog.csdn.net/HMMorange/article/details/104383430