好きなところにCloneして make
を実行すると、 $HOME
配下にシンボリックリンクを張り、brew
などを使って各種ツールのインストールを行います。
git clone https://github.com/masa0x80/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
make
デフォルトではGitの設定が行われません。
下記要領でファイルを準備して名前やメールアドレスの設定を行ってください。
$ mkdir -p $HOME/.config.local/git
$ cat <<EOF > $HOME/.config.local/git/config
[user]
name = YOUR_NAME
email = YOUR_EMAIL
[core]
hooksPath = ~/.config.local/git/hooks
[url "[email protected]:"]
insteadOf = https://github.com/
EOF