Last active
November 8, 2022 03:35
-
-
Save dwyn/58533b79ac4b6891286b1ccc65b62cb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl https://gist.github.com/dwyn/58533b79ac4b6891286b1ccc65b62cb3/raw --output install.sh | |
#!/bin/sh | |
set -eufo pipefail | |
echo "" | |
echo "🤚 This script will setup .dotfiles for you." | |
# Copy Brewfille | |
curl https://raw.githubusercontent.com/dwyn/559af8a6cdbec71f1463c0b65b522fba/raw --output Brewfile | |
# Install Homebrew | |
command -v brew >/dev/null 2>&1 || \ | |
(echo '🍺 Installing Homebrew' && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && brew bundle) | |
echo 'source $(brew --prefix)/opt/antidote/share/antidote/antidote.zsh' >> .zshrc | |
echo 'antidote load' >> .zshrc | |
# Install Homebrew in Paths | |
echo ' ' >> /Users/dharmon/.zprofile | |
echo '# ••••••••••••••••••••••••••••••••••••••' >> /Users/dharmon/.zprofile | |
echo ' ' >> /Users/dharmon/.zprofile | |
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/dharmon/.zprofile | |
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/dharmon/.zprofile | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
# Brew Clean Up | |
brew cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment