Skip to content

suzushin54/dotfiles

Repository files navigation

My Dotfiles

This repository contains my personal dotfiles managed with chezmoi.

Prerequisites

Quick Start

To set up a new machine with these dotfiles, follow these steps:

  1. Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install chezmoi:
brew install chezmoi
  1. Initialize chezmoi with this repository:
chezmoi init https://github.com/suzushin54/dotfiles.git
  1. Apply the dotfiles:
chezmoi apply -v

After applying the dotfiles, you may need to:

  1. Install Fish shell:
brew install fish
echo /opt/homebrew/bin/fish | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/fish
  1. Set up fzf for Fish:
fzf --fish | source

Customizing

To make changes to the dotfiles:

  1. Edit the source files in the chezmoi directory:
chezmoi edit ~/.config/fish/config.fish
  1. Apply the changes:
chezmoi apply
  1. Commit and push your changes to the repository:
chezmoi cd
git add .
git commit -m "Update dotfiles"
git push

Troubleshooting

If you encounter any issues:

  1. Check the output of `chezmoi doctor`
  2. Ensure all prerequisites are installed
  3. Check the chezmoi documentation

For specific issues, please open an issue in this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.