Please have a look at my article here
curl "https://dotfiles.vibioh.fr/bootstrap.sh" | bash
"${HOME}/code/dotfiles/init.sh" -a
You can set following environment variables for customizing installation behavior:
DOTFILES_NODE="true"
will perform install ofinstallations/node
file (replaceNODE
by any uppercase filename ininstallations/
dir)
#!/usr/bin/env bash
# Dotfiles configuration example for a server
export DOTFILES__SCRIPTS="true"
export DOTFILES_RIPGREP="true"
export DOTFILES_VIM="true"
export DOTFILES_YQ="true"
ssh-keygen -t ed25519 -a 100 -C "$(whoami)@$(hostname)" -f "${HOME}/.ssh/id_ed25519"
gpg --full-generate-key
Reinstall them by running following command:
sudo rm -rf $(xcode-select -print-path)
xcode-select --install
Fix it with following command when it's broken.
sudo chown -R "$(whoami)" "$(brew --prefix)"/*
brew doctor