dotfiles基本上就是個人一堆設定檔如.vim, .vimrc, .screenrc, .irb, ...
在維護這些dotfiles有時候真的很花時間,乾脆直接放在github並使用git控管,日後要重灌、更新只少有一致的版本可以使用!
先去github新建 dotfiles git repository,利用git將你的dotfiles全部commit至github中,個人是將dot改成沒有dot檔案名稱再commit,利用Ryan 所寫的Rakefile自動安裝到自己的環境中。
安裝方式:
[code] git clone git://github.com/chliu/dotfiles ~/.dotfiles cd ~/.dotfiles rake install [/code]
No comments:
Post a Comment