- 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)
gitcommand- 1Password account (required in executing
chezmoi applycommand)
- setup envvars
export DOTFILES_DIR="$HOME/.ghq/github.com/ShotaKitazawa/dotfiles"- clone dotfiles
git clone [email protected]: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 applysudo vim /etc/shells
...
+ /usr/local/bin/zsh-
reboot
-
change login shell
chsh -s /opt/homebrew/bin/zsh