This repo manages symlinked dotfiles with GNU Stow.
stow/: stow packages (for example,stow/shared)install/: setup scripts (for example,install/bootstrap.sh)
git- GNU Stow (
stow)
Install Stow:
- macOS (Homebrew):
brew install stow - Debian/Ubuntu:
sudo apt install stow - Fedora:
sudo dnf install stow
-
Clone the repo:
git clone https://github.com/TheExeQ/dotfiles ~/dotfiles cd ~/dotfiles
-
Optional: preview changes without modifying files:
./install/bootstrap.sh --dry-run
-
Apply configuration:
./install/bootstrap.sh
- Verifies
stowis installed. - Uses your home directory (
$HOME) as the stow target. - Uses
stow/as the stow package directory. - Always stows the
sharedpackage. - Also stows one OS-specific package:
macon macOS (Darwin)linuxon Linux
- If a package directory is missing, it is skipped.
- Supports
--dry-run,--undoand--help.
You can safely re-run ./install/bootstrap.sh after updates to re-apply symlinks.