Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.65 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.65 KB

Fedeya Dotfiles

My personal dotfiles, managed with chezmoi in symlink mode: regular files in ~ are symlinks into this repo, so editing ~/.config/nvim/... edits the repo directly; just commit. Templates, private and executable files are still copied.

There is also a mise version of these dotfiles in the mise branch. Use one or the other on a machine, not both.

Installation

sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply fedeya

init asks whether it's a work machine (adds work apps), then:

  • run_onchange_before_10-packages.sh: Homebrew + brew bundle from .chezmoidata/packages.yaml, then mise install
  • applies the dotfiles and externals (tpm, herdr-sesh)
  • run_onchange_after_20-macos-defaults.sh: key repeat, Dock, Finder
  • run_onchange_after_30-setup.sh: opencode/pi deps, herdr integration + plugins, worktrunk plugin, tmux plugins

Day to day

chezmoi status            # anything out of sync?
chezmoi add ~/.config/foo # start managing a new file
chezmoi apply             # after pulling or editing packages.yaml

New files created inside a managed directory are not picked up automatically: chezmoi add them.

Machine-specific config (not versioned)

  • ~/.zshrc.local: sourced at the end of .zshrc
  • OpenCode work config: an opencode.json in the parent folder of the work projects (OpenCode merges every opencode.json from / down to the project)

License

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