-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
64 lines (46 loc) · 2 KB
/
setup
File metadata and controls
64 lines (46 loc) · 2 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/env sh
# Homebrew itself depends on the command line tools (CLT) for Xcode
xcode-select --install
# Remove All Unavailable Simulators
xcrun simctl delete unavailable
# Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Symlink all the things
rake install
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
echo "Open vi and run `:BundleInstall`"
# Install command line tools and apps
brew bundle --verbose
# Show external media
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
# Show All File Extensions
defaults write -g AppleShowAllExtensions -bool true
# Show status Bar
defaults write com.apple.finder ShowStatusBar -bool true
# Sets default save target to be a local disk, not iCloud
defaults write -g NSDocumentSaveNewDocumentsToCloud -bool false
# Enable Develop Menu and Web Inspector
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
defaults write com.apple.Safari IncludeDevelopMenu -bool true
defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled -bool true
defaults write -g WebKitDeveloperExtras -bool true
# Tweak iTerm
defaults write com.googlecode.iterm2 ShowPaneTitles -int 0
defaults write com.googlecode.iterm2 SplitPaneDimmingAmount -int 0.1
# Use Plain Text Mode as Default
defaults write com.apple.TextEdit RichText -int 0
# Show the ~/Library folder
chflags nohidden ~/Library/
# Tweak the Dock
defaults write com.apple.dock autohide -bool true
defaults write com.apple.dock orientation left
defaults write com.apple.dock wvous-br-corner -int 5
defaults write com.apple.dock wvous-tr-corner -int 4
defaults write com.apple.Dock size-immutable -bool yes
defaults write com.apple.dock tilesize -int 0
# Calendar: turn on time zones support
# Restart the Dock and the UI server
killall Dock
killall SystemUIServer
./adblock