sh <(curl -s https://bepoli.github.io/dotfiles/bootstrap)
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
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