For macOS only.
curl -fsSL https://raw.githubusercontent.com/diohabara/dotfiles/master/script/install | shgit clone https://github.com/diohabara/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./script/setup.sh実際に変更を加えずに、何が実行されるかを確認できます:
# Quick setup の場合
curl -fsSL https://raw.githubusercontent.com/diohabara/dotfiles/master/script/install | sh -s -- --dry-run
# Manual setup の場合
./script/setup.sh --dry-run
# または
./script/setup.sh -nRun gh auth login and follow the prompts. If needed, update the dotfiles remote:
cd ~/repo/github.com/diohabara/dotfiles
git remote set-url origin git@github.com:diohabara/dotfiles.git./script/setup.sh also sets GitHub CLI's git protocol to SSH, so gh repo clone uses git@github.com: style URLs by default:
gh repo clone diohabara/cs101Shared zsh config lives in ./.config/zsh/.zshrc.
If you need machine-specific settings, put them in ~/.config/zsh/.zshrc.local.
Tool-specific PATH tweaks and installer-generated hooks such as uv's ~/bin/env should stay there instead of being committed.
That file is loaded automatically at the end of .zshrc when it exists, and it is git-ignored so it can stay local-only.