This repository contains my dotfiles and configurations. It is managed using GNU Stow.
git clone git@github.com:phisco/configs.git dotfiles
cd dotfiles
# link all dotfiles to the home directory
stow .
Use the stow_add function (defined in .zshrc):
stow_add ~/.config/app/config.yamlThis moves the file to the dotfiles repo and creates the symlink automatically.
Then commit the changes:
git add .config/app/config.yaml
git commit -m "Add app config"- The directory structure in the repo mirrors your home directory structure
- Files listed in
.stow-local-ignore(likeREADME.md,.git,*.bak) won't be symlinked - Use
stow -n .for a dry-run to preview what symlinks will be created - Use
stow -D .to remove all symlinks managed by stow