Awesome
dotfiles
- using chezmoi for managing dotfiles
requirements
- git
- 1password Account (required in
deploy dotfiles by chezmoi
)
setup
- 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_
apply
- deploy dotfiles by chezmoi
chezmoi apply
change login shell
sudo vim /etc/shells
...
+ /usr/local/bin/zsh
-
reboot
-
change login shell
chsh -s /opt/homebrew/bin/zsh