-
Notifications
You must be signed in to change notification settings - Fork 1
/
install_mac.sh
executable file
·96 lines (69 loc) · 2.69 KB
/
install_mac.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/usr/bin/env bash
echo -e "\n\n\n\n\nSetup mac specific > Settings\n\n\n\n\n"
# Some settings
echo "Disable the sound effects on boot"
sudo nvram SystemAudioVolume=%01
echo "Show File Extensions"
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
echo "Don't automatically rearrange Spaces based on most recent use"
defaults write com.apple.dock mru-spaces -bool false
echo "Show the ~/Library folder"
chflags nohidden ~/Library
echo "Show the /Volumes folder"
sudo chflags nohidden /Volumes
echo "Show hidden files by default"
defaults write com.apple.finder AppleShowAllFiles -bool true
echo "Turn off keyboard illumination when computer is not used for 5 minutes"
defaults write com.apple.BezelServices kDimTime -int 300
echo "Always show scrollbars"
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
echo "Show battery percent"
defaults write com.apple.menuextra.battery ShowPercent -bool true
echo "Disable the crash reporter"
defaults write com.apple.CrashReporter DialogType -string "none"
echo "Setting the icon size of Dock items to 36 pixels for optimal size/screen-realestate"
defaults write com.apple.dock tilesize -int 36
echo "Speeding up Mission Control animations and grouping windows by application"
defaults write com.apple.dock expose-animation-duration -float 0.1
defaults write com.apple.dock "expose-group-by-app" -bool true
echo "Remove the auto-hiding Dock delay"
defaults write com.apple.dock autohide-delay -float 0
echo "Remove the animation when hiding/showing the Dock"
defaults write com.apple.dock autohide-time-modifier -float 0
echo "Automatically hide and show the Dock"
defaults write com.apple.dock autohide -bool true
echo "Don't animate opening applications from the Dock"
defaults write com.apple.dock launchanim -bool false
echo "Don't show recently used applications in the Dock"
defaults write com.Apple.Dock show-recents -bool false
echo -e "\n\n\n\n\nSetup mac specific > HomeBrew\n\n\n\n\n"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> /Users/dennis.vandehoef/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/dennis.vandehoef/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew update
brew upgrade
brew install bash
brew install unrar
brew install rename
brew install automake
brew install autoconf
brew install curl
brew install ack
brew install readline
brew install pv
brew install rename
brew install tree
brew install tmux
brew install lftp
brew install htop
brew install libyaml
brew install wget
brew install gpg
brew install watch
brew install derailed/k9s/k9s
brew tap homebrew/cask
brew install rowanj-gitx
brew install sequel-pro
brew link
brew cleanup