Last active
May 11, 2023 14:00
-
-
Save mtpettyp/1595e204ead9c8d6a9518958b6e547a5 to your computer and use it in GitHub Desktop.
Mac Setup
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
#Rosetta | |
softwareupdate --install-rosetta | |
# Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Oh My Zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# Git | |
brew install git | |
ssh-keygen -t ed25519 -C "[email protected]" | |
cat <<EOT >> ~/.ssh/config | |
Host * | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_ed25519 | |
EOT | |
ssh-add -K ~/.ssh/id_ed25519 | |
# Homeshick | |
git clone https://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick | |
$HOME/.homesick/repos/homeshick/bin/homeshick clone mtpettyp/dotfiles | |
# Homebrew Brewfile | |
brew bundle install --file=~/.homesick/repos/dotfiles/Brewfile | |
# Mac App Store applications | |
# AutoMute | |
mas install 1118136179 | |
# WireGuard | |
mas install 1451685025 | |
# Set right click | |
defaults write com.apple.driver.AppleBluetoothMultitouch.mouse MouseButtonMode TwoButton | |
defaults write com.apple.driver.AppleHIDMouse MouseButtonMode TwoButton | |
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2 | |
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -int 0 | |
defaults write com.apple.AppleMultitouchTrackpad TrackpadCornerSecondaryClick -int 2 | |
defaults write com.apple.AppleMultitouchTrackpad TrackpadRightClick -int 0 | |
# Standard function key | |
defaults write "Apple Global Domain" com.apple.keyboard.fnState -int 1; | |
# Disable Siri in the menu bar | |
defaults write com.apple.Siri StatusMenuVisible -int 0 | |
# Make Menu Bar clock analog | |
defaults write com.apple.menuextra.clock IsAnalog -int 1 | |
# May also have to log out and back in | |
killall cfprefsd && killall Finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment