Change the Shell to Bash
chsh -s /bin/bash && exec bashNow install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Then 1Password and the GitHub CLI
/opt/homebrew/bin/brew install --cask 1password && /opt/homebrew/bin/brew install ghNow configure 1Password
open -a 1PasswordLogin to GitHub
/opt/homebrew/bin/gh auth loginThen clone this repo
/opt/homebrew/bin/gh repo clone brod-ie/dotfiles ~/github/dotfilesAnd symlink config files
cd ~ && rm -rf .bash_profile && \
ln -s ~/github/dotfiles/bash/.bash_profile . && \
ln -s ~/github/dotfiles/bash/.hushlogin . && \
ln -s ~/github/dotfiles/bash/.nvmrc . && \
ln -s ~/github/dotfiles/bash/Brewfile . && \
bash -lNow linked, install making use of bundle
brew uninstall --force ruby && brew uninstall --force node && brew update && brew bundle && mkdir ~/.nvm && nvm installSync the ~/Downloads folder to iCloud
sudo rm -rf ~/Downloads && \
sudo ln -s "$ICLOUD_DOWNLOADS" ~/DownloadsSet our defaults
duti -s com.sublimetext.4 json all && duti -s com.sublimetext.4 svg all && duti -s com.sublimetext.4 plist all && duti -s com.sublimetext.4 txt all && duti -s com.sublimetext.4 md all && duti -s com.sublimetext.4 rtf all && duti -s com.sublimetext.4 js all && duti -s com.sublimetext.4 ts all && duti -s com.sublimetext.4 css all && duti -s com.sublimetext.4 xml all && duti -s com.sublimetext.4 yml all && duti -s com.sublimetext.4 yaml allAnd finally, configure macOS (list of macOS programmatically configurable options)
dotfiles && ./macos/macos.sh && sudo shutdown -r now