my dotfiles are managed with GNU Stow and the structure is inspired by Anish Athalye's Managing your dotfiles. You can use this portable configuration on all Linux systems with bash, vim, tmux and git.
My machine-specific settings live in the dotfiles-local repo, which extends this base configuration.
Before applying any configuration, run a dry run first. These commands simulate the Stow operations without changing files:
./scripts/install-common.sh --dry-run
./scripts/install-dev.sh --dry-run
./scripts/install-server.sh --dry-runAfter checking the dry-run output you can actually apply the profile you want. Use only the profile that matches the machine you are setting up.
./scripts/install-common.sh
./scripts/install-dev.sh
./scripts/install-server.shRun the check script to validate the repo setup:
./scripts/check.sh
You can remove the managed symlinks with this script. Please dry-run first.
./scripts/unstow-all.sh --dry-run
./scripts/unstow-all.shYou can add local and machine-specific customization without changing this base repository. The following files are sourced when present:
~/.bashrcsources~/.bashrc.local~/.bash_profilesources~/.bash_profile.local~/.tmux.confsources~/.tmux.conf.local~/.vimrcsources~/.vimrc.local