Add global goosehints noting dotfiles symlink workflow

This commit is contained in:
Ian Keane 2026-09-05 20:09:58 -04:00
parent 030a4fb510
commit 5b4686f3b9
2 changed files with 15 additions and 0 deletions

14
config/goose/.goosehints Normal file
View file

@ -0,0 +1,14 @@
## Dotfiles management
Any changes to dotfiles (shell configs, app configs, scripts, etc. that live
under `~/.dotfiles`) must be made by editing the files inside the
`~/.dotfiles` repo itself, NOT by editing the symlinked target files in place.
- `~/.dotfiles` uses a symlink system (see `link.sh` / `link-root.sh`) to
link its contents into their expected locations (e.g. `~/.config/*`,
`~/.vimrc`, etc.).
- Always locate and edit the source file under `~/.dotfiles`, then verify
the symlink is in place (run `~/.dotfiles/link.sh` if a new file needs to
be linked).
- After making changes, consider committing them in the `~/.dotfiles` git
repo.