安装 vim 语法加亮插件
mkdir ~/.vim/ git clone https://github.com/saltstack/salt-vim.git mv salt-vim/{ftdetect,ftplugin,syntax} ~/.vim/
配置.vimrc文件
cat >> ~/.vimrc <<EOF set nocompatible filetype plugin indent on set nocompatible set tabstop=2 set shiftwidth=2 set expandtab EOF
service 负责管理服务脚本的启用,禁用,启动,停止,重启等等工作
service: - name: rsync - running - enable: True
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。