jldugger / dotfiles

homedir management repo
3 stars 1 forks source link
bash dotfiles

dotfiles

CI

Purpose

This dotfile repo is intended to organize $HOME. The layout is:

Installation

Installing a dotfiles repo into an existing homedir is a bit tricky, as git clone will refuse to work on non-empty directories. But it can be done!

$ git init
$ git remote add -t \* -f origin https://github.com/jldugger/dotfiles.git
$ git checkout -f main

Any local changes or history will be overridden though. After that, pull in sub-projects with mr:

$ mr update

Philosophy

Here, I mostly ignore the XDG standards, but shouldn't interfere with them (much).

Over time, the I intend to break up the larger config files into smaller, composable units. Formats that support include directives will be preferred.

Some bits of the homedir are actually git repositories of their own. These are managed with myrepos, which is tracked in .mrconfig.

Testing / CI

Bash scripts are validated using shellcheck and Travis.