Add global goosehints noting dotfiles symlink workflow
This commit is contained in:
parent
030a4fb510
commit
5b4686f3b9
2 changed files with 15 additions and 0 deletions
14
config/goose/.goosehints
Normal file
14
config/goose/.goosehints
Normal 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.
|
||||
1
link.sh
1
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue