sh -c "$(curl -fsLS git.io/chezmoi)"
雖然也可以用 brew install chezmoi
安裝,但是有可能是新的機器,或是 Linux 機器,為了一致性,所以都用 curl
安裝。
If you already have a dotfiles repo using chezmoi on GitHub at https://github.com//dotfiles then you can install chezmoi and your dotfiles with the single command:
sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply rammusxu
chezmoi init --apply rammusxu
chezmoi update