Using git to manage dotfiles

After saw the article 使用 Git 管理自己的 dotfiles. I want to put my dotfiles into a git repository and write some deploy script to setup new Linux environment. Finally, the work is done during some modification.

I use three branch for my dotfiles:
  • public: Basic setting. It includes bashrc, vimrc, deploy scripts, ...etc. I push this branch to github public project for publish to blog. Any comment is welcome to improve my script & rcfile.
  • private: Some personal information unsuited to publish, like github access key, netrc for git access and so on. I push this branch to bitbucket private repository for sync between my machines.
    This private branch always rebase public after any changes.
  • local: The setting for which machine only. $PATH, specially software config, ...etc
    Like private, the local branch always rebase private.

I also write a script to sync local and hosted repository as followed.
Again, Any comment is welcome.

kywk's vim color scheme

因為部份顏色不容易閱讀,想更改 vim 色彩配置已經很久
趁下午有空,做了些比較後修改出自己的 vim color scheme

bCentral 的 Vim Color Scheme Test 幫 Color Schemes 加上預覽圖

我的 color scheme 是基於 desert.vimir_black.vim 兩者去改出來的,會依實際使用情況再陸續調整