仕込み編 $ cd $HOME $ mkdir .dotfiles $ cd .dotfiles (2010/01/04追記;忘れてました) $ git init $ git remote add origin <YOUR_GIT_REPOSITORY> $ cat > import_dotfiles.rb #!/usr/bin/ruby require "fileutils" DEST_DIR = File.expand_path("~/.dotfiles") TARGETS = <<EOS ~/.bash_profile ~/.bashrc ~/.hgrc ~/.gitconfig ~/.gitignore ~/.git-completion.bash.ps1only ~/.gvimrc ~/.inputrc ~/.screenrc ~/.vim ~/.vimrc ~/.zshrc ~