This repository contains my personal dotfiles managed with chezmoi.
- macOS
- Homebrew
To set up a new machine with these dotfiles, follow these steps:
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install chezmoi:
brew install chezmoi
- Initialize chezmoi with this repository:
chezmoi init https://github.com/suzushin54/dotfiles.git
- Apply the dotfiles:
chezmoi apply -v
After applying the dotfiles, you may need to:
- Install Fish shell:
brew install fish
echo /opt/homebrew/bin/fish | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/fish
- Set up fzf for Fish:
fzf --fish | source
To make changes to the dotfiles:
- Edit the source files in the chezmoi directory:
chezmoi edit ~/.config/fish/config.fish
- Apply the changes:
chezmoi apply
- Commit and push your changes to the repository:
chezmoi cd
git add .
git commit -m "Update dotfiles"
git push
If you encounter any issues:
- Check the output of `chezmoi doctor`
- Ensure all prerequisites are installed
- Check the chezmoi documentation
For specific issues, please open an issue in this repository.
This project is licensed under the MIT License - see the LICENSE file for details.