Skip to content

ShotaKitazawa/dotfiles

Repository files navigation

dotfiles

  • 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)

pre-requirements

  • git command
  • 1Password account (required in executing chezmoi apply command)

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/.scripts/setup-mac.sh
  • setup chezmoi
cat << _EOF_ >> ~/.zshrc

# chezmoi
alias chezmoi="chezmoi -S ${DOTFILES_DIR}"
_EOF_

apply

chezmoi apply

change login shell

  • sudo vim /etc/shells
  ...
+ /usr/local/bin/zsh
  • reboot

  • change login shell

chsh -s /opt/homebrew/bin/zsh

About

Dotfiles and script to deploy Dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •