Lightweight dotfiles manager for bash-based Linux servers (works on macOS too). Provides:
- Git aliases and quality-of-life shell shortcuts
- Managed SSH config includes
- Consistent
~/datapath via symlink or empty dir
- Clone this repo on each machine
git clone <your-fork-or-origin> ~/dotmanager && cd ~/dotmanager- Run the installer
bash install.shThis will:
- Symlink
git/.gitconfigto~/.gitconfig - Ensure
~/.bashrcsourcesbash/aliases.sh - Ensure
~/.ssh/configincludes~/.ssh/config.d/*.confand symlinkssh/config.d/dotmanager.conf - Create
~/dataas a symlink ifDOTMANAGER_DATASET_TARGETis set, otherwise an empty directory
- Edit Git aliases and settings in
git/.gitconfig - Edit shell shortcuts in
bash/aliases.sh - Add SSH hosts in
ssh/config.d/dotmanager.conf(or create more files underssh/config.d/)
Optionally set a machine-specific dataset target. Create a file .dotmanager.local at the repo root:
DOTMANAGER_DATASET_TARGET=/mnt/datasetsThen re-run the installer. If not set, the installer ensures ~/data exists as an empty directory so relative paths remain stable.
- Remove the
dotmanagerblock from~/.bashrc - Remove
~/.ssh/config.d/dotmanager.confand the include line from~/.ssh/configif desired - Remove or repoint
~/data