Manage your dotfiles without shenanigans.
- No symlinks
- No complex setups
- Just brute force rsync.
- Clone the repo where you want to keep you dotfiles repo:
git clone git@github.com:thales-maciel/dots.git && \
cd dots && \
rm -rf .git && \
git init
- Edit the
dots.conf
file with the globs you want to include. Make sure to include parent directories. For example:
.bashrc
.config/ # this is needed if we want something from this directory
.config/alacritty/
.config/alacritty/alacritty.toml
.config/nvim/*** # this matches everything under .config/nvim/
make sure to include trailing slashes to specify directories
Pull dotfiles from $HOME
to the current directory:
./dots in
Push dotfiles from the current directory to $HOME
:
./dots out
Run dry to check config:
./dots in --dry-run
./dots out --dry
./dots out -d
rsync must be installed. You probably already have it installed.