Skip to content
riki-nishidaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My dotfiles for macOS on Apple Silicon.

Setup

Install Homebrew, then:

git clone https://github.com/riki-nishida/dotfiles.git ~/dotfiles
~/dotfiles/bootstrap.sh

bootstrap.sh runs brew bundle, install.sh and mise install, then makes fish the login shell. It is safe to rerun.

Rust comes from its own installer (PATH already covers it):

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path

install.sh only handles the links:

  • Symlinks everything under home/ into $HOME, entry by entry inside .config and .claude
  • Moves anything already in the way to *.backup.<timestamp>
  • Removes links to entries deleted from home/
  • Creates an empty ~/.gitconfig so git config --global doesn't write into the repo
  • Is safe to rerun

Layout

home/
├── .zshenv, .zprofile, .zshrc
├── .claude/      settings.json, CLAUDE.md
└── .config/      fish, gh, ghostty, git, mise, nvim
  • New tool: add its directory under home/.config/ and rerun install.sh
  • Directly under home/, only .config and .claude can be directories; install.sh refuses others such as .local so it doesn't move the existing one aside
  • Files the tools write at runtime (credentials, state) go in .gitignore
  • Some tracked files are rewritten by their tools and show up in git status: .claude/settings.json, nvim/lazy-lock.json, nvim/lazyvim.json, gh/config.yml

Assumptions

  • Homebrew at /opt/homebrew
  • fish as the login shell; zsh is set up only so tools such as Claude Code get the same PATH and mise tools
  • Languages via mise, except Rust via rustup

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages