xshell 中vi编辑的注释颜色设置,需要修改centos中的vi才行。

1. vi /etc/vimrc

colorscheme murphy

set number

2. vi /etc/bashrc

alias vi='vim'

source /ext/bashrc

相关文章: