- using chezmoi for managing dotfiles
- git
- 1password Account (required in
deploy dotfiles by chezmoi
)
- setup envvars
export DOTFILES_DIR="$HOME/.ghq/github.com/ShotaKitazawa/dotfiles"
- clone dotfiles
git clone git@github.com:ShotaKitazawa/dotfiles $DOTFILES_DIR
- install initial softwares
# for macOS (install only Homebrew & chezmoi)
bash $DOTFILES_DIR/setup-mac.sh
- setup chezmoi
cat << _EOF_ >> ~/.zshrc
# chezmoi
alias chezmoi="chezmoi -S ${DOTFILES_DIR}"
_EOF_
- deploy dotfiles by chezmoi
chezmoi apply
sudo vim /etc/shells
...
+ /usr/local/bin/zsh
-
reboot
-
change login shell
chsh -s /opt/homebrew/bin/zsh