From 5b4686f3b908142bb2b4319e26331f6d1c7d6a50 Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Sat, 5 Sep 2026 20:09:58 -0400 Subject: [PATCH] Add global goosehints noting dotfiles symlink workflow --- config/goose/.goosehints | 14 ++++++++++++++ link.sh | 1 + 2 files changed, 15 insertions(+) create mode 100644 config/goose/.goosehints diff --git a/config/goose/.goosehints b/config/goose/.goosehints new file mode 100644 index 0000000..c4e092b --- /dev/null +++ b/config/goose/.goosehints @@ -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. diff --git a/link.sh b/link.sh index 3c71963..dafaa09 100755 --- a/link.sh +++ b/link.sh @@ -34,6 +34,7 @@ backup_and_link "$DOTFILES/config/kanata" "$HOME/.config/kanata" backup_and_link "$DOTFILES/config/nyxt" "$HOME/.config/nyxt" backup_and_link "$DOTFILES/config/yazi" "$HOME/.config/yazi" backup_and_link "$DOTFILES/config/mpd/mpd.conf" "$HOME/.config/mpd/mpd.conf" +backup_and_link "$DOTFILES/config/goose/.goosehints" "$HOME/.config/goose/.goosehints" backup_and_link "$DOTFILES/config/rofi" "$HOME/.config/rofi" backup_and_link "$DOTFILES/config/zathura" "$HOME/.config/zathura"