sudo xcode-select --install # brew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install wget brew install z brew install ack brew install tmux brew install tree brew install docker-completion brew install pyenv echo 'eval "$(pyenv init -)"' >> ~/.zshrc source ~/.zshrc pyenv install 3.6.9 pyenv global 3.6.9 pyenv rehash curl https://bootstrap.pypa.io/get-pip.py > get-pip.py sudo python get-pip.py pip install virtualenv pip install 'ipython[qtconsole,notebook,test]' # Oh my zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # plugins TODO brew install zsh-syntax-highlighting echo 'source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc brew install zsh-autosuggestions echo 'source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc # LANG_ALL # software brew cask install \ qlcolorcode \ qlstephen \ qlmarkdown \ quicklook-json \ qlprettypatch \ quicklook-csv \ webpquicklook brew cask install \ alfred \ bartender \ betterzip \ appcleaner \ caffeine \ cheatsheet \ docker \ google-chrome \ google-hangouts \ istat-menus \ iterm2 \ malwarebytes \ sublime-text \ virtualbox \ vagrant \ vagrant-manager \ suspicious-package \ vlc \ teamviewer \ zoomus # apps to be installed from AppStore # 1password # wechat # whatsapp # the-unarchiver # youdaodict ############################################################################### # Finder # ############################################################################### # Finder: show hidden files by default defaults write com.apple.finder AppleShowAllFiles -bool true # Finder: show all filename extensions defaults write NSGlobalDomain AppleShowAllExtensions -bool true # Finder: show status bar defaults write com.apple.finder ShowStatusBar -bool true # Finder: allow text selection in Quick Look defaults write com.apple.finder QLEnableTextSelection -bool true # Disable the warning when changing a file extension defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false # Vim config TODO # tmux config TODO # Enable TouchID for iTerm2 sudo echo 'auth sufficient pam_tid.so' >> /etc/pam.d/sudo # You have to go into Preferences -> Advanced and deactivate Allow sessions to survive logging out and back in