- brew 入れる
- set brewfile
- brew bundle
- set .zshrc
- git設定
- git clone [email protected]:smith-30/dotfiles.git
- cd dotfiles
- make setup
git config --global user.name "smith-30" && \
git config --global user.email [email protected] && \
git secrets --install ~/.git-templates/git-secrets && \
git config --global init.templatedir '~/.git-templates/git-secrets'cd && \
touch .zshrc && \
mkdir .ssh && \
chmod 700 ~/.ssh && \
ssh-keygen -t rsa -b 4096 -C "[email protected]" -f ~/.ssh/my-github-id_rsa && \
chmod 400 ~/.ssh/my-github-id_rsa$ vi ~/.ssh/config
Host github github.com
HostName github.com
IdentityFile ~/.ssh/my-github-id_rsa
User git
mkdir ~/Project && \
cd ~/Project && \
git clone [email protected]:smith-30/dotfiles.git && \
cd dotfiles && \
make setupvscode の go のライブラリインストールをvscodeで実行する
# Brewfile作成
$ brew bundle dump
# 定期アップデート
$ brew update
$ brew upgrade
# 編集反映
$ brew bundle cleanup
# 削除
$ brew uninstall vim