Here are my dotfiles. They are MacOS oriented.
Make sure you have git and stow installed.
brew install git stow
git clone https://github.com/0inp/dotfiles.git ~/dotfiles
cd ~/dotfiles
chmod +x "${HOME}/dotfiles/bin/install.sh" && ./bin/install.sh
brew bundle
stow */
cd ~/dotfiles
./bin/update.sh
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