| name | stow-add |
| description | Scaffold and stow a new dotfile package. Usage: /stow-add <package-name> |
Given a package name argument (e.g. zsh, kitty, git):
-
Determine the appropriate config path:
- For most tools:
$PACKAGE/.config/$PACKAGE/
- For git:
git/.config/git/
- For zsh:
zsh/ (home-dir dotfiles like .zshrc)
-
Create the directory structure under ~/dotfiles/$PACKAGE/.
-
Add a placeholder config file appropriate for the tool.
-
Update install.sh — add $PACKAGE to the stow loop if not already present.
-
Run:
stow --dir=~/dotfiles --restow $PACKAGE
-
Confirm symlinks were created successfully with ls -la of the target path.