My modular configuration manager for MacOS and Linux.
I try to comply to the XDG
standard
as much as possible. My $HOME is chmod -w
'd lol.
Config files | Installed to |
---|---|
config/* |
XDG_CONFIG_HOME |
data/* |
XDG_DATA_HOME |
bin/* |
Normally ~/.local/bin , but specified in the Makefile |
home/* |
~ (looking at you, Bash) |
This repository can be cloned to any location on your computer. The dotfiles
are managed using a shell script (dot.sh
). This makes the
configuration modular and allows me to install only the configuration from the
programs I need at that moment.
git clone https://github.com/yochem/dotfiles.git
cd dotfiles
./dot.sh */*
Usage: dot.sh [sync|track|clean] [FILE...]
dot.sh --help
Manage dotfiles. Either sync (from this repo to your dotfile directories) or
Start tracking (from your dotfile directories to this repository) your dotfiles.
COMMANDS
sync Symlinks file from this repository to your dotfile directories
track Moves dotfile to this repository and starts sync
clean Removes dotfile, but only if it exists in this repository
FILES
Files that should be synced/tracked/cleaned. Use glob patterns for easy
syncing of many files. The * in the root directory will only match the
dotfile directories: config, data, home, bin
"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them." -- Richard Feynman
Please create an issue!
Licensed under the MIT license.