Created
June 28, 2017 06:14
-
-
Save intfrr/cd6b41ee04d8d9b85b7fd0d842719ad0 to your computer and use it in GitHub Desktop.
Things to setup/install on a new macOS
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
#!/bin/bash | |
# change default shell to zsh (asks for password) | |
chsh -s /bin/zsh | |
# install xcode command line tools | |
xcode-select --install | |
# download my custom .zshrc | |
curl https://gist.githubusercontent.com/simonhaenisch/382eab0cfa3435dad7e177a49fe198fc/raw/.zshrc > ~/.zshrc | |
# install homebrew (http://brew.sh) | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# install some command line stuff | |
brew tap getantibody/homebrew-antibody | |
brew install antibody grc node ffmpeg youtube-dl python3 | |
# optional brew installs: | |
# * nmap | |
# * cmake (includes ccmake: switch to build dir and pass path to src as arg) | |
# * pkg-config | |
# install apps from cask (https://caskroom.github.io) | |
brew tap caskroom/cask | |
brew cask install appcleaner bettertouchtool caffeine cyberduck deezer dropbox firefox flux google-chrome handbrake hyper imageoptim iterm2 mountain-duck mplayerx owncloud rocket sabnzbd skype sublime-text teamviewer the-unarchiver thumbsup transmit virtualbox visual-studio-code whatsapp | |
# bettertouchtool settings: 3F click/tap: middle click, 4F click: center window, 5F click: sleep display | |
# iTerm settings are in Dropbox/Apps/iTerm (color preset is molokai) | |
# non-cask apps (App Store/Web): | |
# * Graphic | |
# * Logic Pro X | |
# * Newton | |
# * Pixelmator | |
# * Swift Note | |
# * iStudiez Pro | |
# * iWork | |
# install global npm tools | |
npm install -g yarn tern browser-sync eslint ionic | |
# no ds_store on network drives (http://hints.macworld.com/article.php?story=2005070300463515) | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores true | |
# default to save to local disk, not iCloud | |
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false | |
# no auto open for mounted transmit drives (https://panic.com/blog/15-secrets-of-transmit/) | |
defaults write com.panic.transmit OpenMountedFinderWindow -bool NO | |
defaults write com.panic.transmitmenu OpenMountedFinderWindow -bool NO | |
# disable sudden motion sensor (only do this for ssd's) | |
sudo pmset -a sms 0 | |
# cleanup brew downloads cache | |
brew cleanup -s | |
brew cask cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment