manage-dotfiles
Installation
SKILL.md
Instructions
On Linux and macOS, dotfiles will be managed via GNU stow.
The stored dotfiles will use the XDG configuration for simplicity and organization.
The commands below assume that there is a specific config package which is being interacted with (eg: nvim)
Syncing Dotfiles - Exporting Configurations
Sync a dotfiles package to its target location using GNU stow.
Instructions
-
Validate the package exists at
~/dotfiles/{package}:- If it doesn't exist, list available packages (top-level directories in ~/dotfiles that aren't hidden or special like
result,docs,░▒▓ OLD ▓▒░) - Fail with a clear error message
- If it doesn't exist, list available packages (top-level directories in ~/dotfiles that aren't hidden or special like
-
Run stow to deploy the package:
Related skills