centos7 设置默认提示符 ps1 颜色、vim颜色、避免中文乱码
vi /root/.bashrc
PS1="\[\e[1;32m\]\u\[\e[m\]\[\e[1;33m\]@\[\e[m\]\[\e[1;35m\]\h\[\e[m\]:\w\$ "
vi /etc/vimrc
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set fileformats=unix
set encoding=prc
source /etc/vimrc