Always use --no-folding with stow since ~/.config is a real directory, not a symlink.
Adding new dotfiles:
- Create a directory, e.g.
ghostty - Within
ghostty, create a directory structure that matches where the dotfile is. ghostty is at/.config/ghostty/configso we createghostty/.config/ghostty/configin this repo. stow --adopt -v -t ~ --no-folding ghosttyto adopt the new dotfile - this command is dangerous, always get a human to do it
Adding new files within a specific directory:
- Make your new file, e.g.
opencode/.config/opencode/command - Run
stow -v -t ~ --no-folding opencodeto restow the directory (idempotent)