-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap-osx.sh
41 lines (32 loc) · 1.62 KB
/
bootstrap-osx.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
echo "Doing brew things"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install git wget python watch unrar jq docker-machine docker bash-completion docker-compose ansible
brew cask install virtualbox vagrant google-chrome visual-studio-code slack iterm2 wireshark flux google-play-music-desktop-player
echo "Rummaging for my dot things"
curl -so ~/.bashrc https://raw.githubusercontent.com/AZaugg/my-dotfiles/master/dot-bashrc
curl -so ~/.gitconfig https://raw.githubusercontent.com/AZaugg/my-dotfiles/master/dot-gitconfig
curl -so ~/.vimrc https://raw.githubusercontent.com/AZaugg/my-dotfiles/master/dot-vimrc
echo "python config"
mkdir ~/.config
curl -so ~/.config/pep8 https://raw.githubusercontent.com/AZaugg/my-dotfiles/master/pep8
echo "Doing my pip things"
pip install --upgrade setuptools pip
pip install virtualenv requests pylint
sudo pip install virtualenvwrapper
sudo gem install bundler
echo "Setting OSX to how I like it"
defaults write com.apple.screencapture type jpg
defaults write -g com.apple.mouse.scaling -float 1.5
defaults write -g InitialKeyRepeat -int 15
defaults write -g KeyRepeat -int 2
# Prevent annoying apps from starting when phones plugged in
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
defaults write /Library/Preferences/.GlobalPreferences AppleInterfaceTheme Dark
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
# Set screenshot location
mkdir ~/Development
mkdir ~/Vagrant
mkdir ~/Pictures/Screenshots
defaults write com.apple.screencapture location ~/Pictures/Screenshots
killall SystemUIServer