If your environment has built-in git command:
git clone https://github.com/Udomomo/dotfiles.git
bash dotfiles/bin/init.sh
Or if you cannot install git command beforehand:
curl -sL https://dotfiles.udomomo.dev > init.sh
bash init.sh
-
init.shdoes the smallest things to:- deploy the change of dotfiles, without installing all packages again
- install homebrew, so that dotfiles work correctly during the setup for a new laptop
-
After that, you can configure things with
makecommand. SeeMakefilefor available options.
This repository also refers following files, so that you can write settings only used in specific environments.
~/.zsh.d/<file_name>.zsh: used in~/.zshrc~/.gitconfig_private: used in.gitconfig
- If you install dotfiles to the environment without git, use another script to get the update.
bash bin/apply_patch.sh
- Just
git cloneas usual - CI pipeline checks
init.shwithout installing package