-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacos.sh
51 lines (37 loc) · 1.44 KB
/
macos.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
#!/usr/bin/env zsh
brew tap homebrew/cask-fonts
brew install --cask font-inconsolata-dz-for-powerline
brew install --cask meslo-for-powerline
brew install ruby
brew install vim
brew install tmux
brew install the_silver_searcher
brew install jq
brew install fzf
brew install --cask iterm2
brew install --cask hammerspoon
brew install --cask karabiner-elements
brew install --cask 1password
brew install --cask slack
brew install --cask google-chrome
brew install --cask dash
# Finder Setup
# Many settings via https://gist.github.com/bradp/bea76b16d3325f5c47d4
## Move dock to left side of screen
defaults write com.apple.dock orientation left
## Setting Dock to auto-hide and removing the auto-hiding delay
defaults write com.apple.dock autohide -bool true
defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0
## 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
## Restart modified services
killall Dock
killall Finder
# iTerm2 Setup
# Props to https://shyr.io/blog/sync-iterm2-configs
## Specify the preferences directory
defaults write com.googlecode.iterm2 PrefsCustomFolder -string "~/dotfiles/iTerm2"
## Tell iTerm2 to use the custom preferences in the directory
defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true