xshell 连接 centos 中的 vi 配色

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

1. vi /etc/vimrc

colorscheme murphy

set number

2. vi /etc/bashrc

alias vi='vim'

source /ext/bashrc

原文地址:https://www.cnblogs.com/lick468/p/13469374.html