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 -vAfter 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
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install PatrickF1/fzf.fish- Set up vim and plugins
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qallTo 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 pushIf 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.