/dotfiles

Dotfiles managed with a git bare repo

Primary LanguageShellThe UnlicenseUnlicense

dotfiles

Install

Quickstart

sh <(curl -s https://bepoli.github.io/dotfiles/bootstrap)

Manual install

Install curl and git.

Check bootstrap to find out what it does, then run it.

bootstrap [-d OUTPUT_DIRECTORY] [-r REMOTE_URL]

Example:

./bootstrap -d ~/.config/dotfiles -r https://github.com/$USER/dotfiles.git

Uninstall

Undo dotfiles checkout and restore backup

# Use "config" alias defined in bootstrap and dotfiles
config sparse-checkout set --no-cone '!/*'
shopt -s dotglob
cp ~/.config/dotfiles-backup/* ~/
shopt -u dotglob