- using chezmoi to manage dotfiles
- using aqua to manage some softwares
- using asdf to manage softwares for which multiple versions are desired (e.g. language-runtime)
git
command- 1Password account (required in executing
chezmoi apply
command)
- 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/.scripts/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