Linux 配置文件管理

一、简介

参考:https://robots.thoughtbot.com/rcm-for-rc-files-in-dotfiles-repos

        http://dotfiles.github.io/

二、安装

1、rcm安装

参考:http://software.opensuse.org/download.html?project=utilities&package=rcm

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/utilities/CentOS_6/utilities.repo
yum install rcm

三、使用

参考:https://robots.thoughtbot.com/rcm-for-rc-files-in-dotfiles-repos

1、使用如下命令新建文件:.dotfiles

mkrc .zshrc .vimrc

2、将.dotfiles推送至GitHub

参考:http://www.jianshu.com/p/7UJapk

原文地址:https://www.cnblogs.com/274914765qq/p/4510920.html