-
Notifications
You must be signed in to change notification settings - Fork 0
/
.macos
50 lines (41 loc) · 1.68 KB
/
.macos
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
# install OH MY ZSH
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
TODO INSTALL BREW
CONFIGURE KARABINER PROFILE DEFAULT INSTALL GOKUW
CONFIGURE 1PASSWORD
INSTALL SETAPP APPS MANUALLY
POSTGRES
MAILHog
TODO ITERM PROFILE
TODO MAILHOG
TODO DNS
sudo mkdir -pv /etc/resolver
sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/pink'
sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/test'
TODO Caddy
ENV FILES?
Table plus config
Shortcuts for setapp appsa
Ray shortcuts for apps
Consider starting all these with a script instead of always running ing bg
echo "Generating an RSA token for GitHub"
mkdir -p ~/.ssh
touch ~/.ssh/config
ssh-keygen -t rsa -b 4096 -C "emil@emilbryggare.com"
echo "Host *\n AddKeysToAgent yes\n UseKeychain yes\n IdentityFile ~/.ssh/id_rsa" | tee ~/.ssh/config
eval "$(ssh-agent -s)"
echo "run 'pbcopy < ~/.ssh/id_rsa.pub' and paste that into GitHub"
echo "cloning dotfiles"
git clone git@github.com:kentcdodds/dotfiles.git "${HOME}/dotfiles"
ln -s "${HOME}/Projects/dotfiles/.zshrc" "${HOME}/.zshrc"
ln -s "${HOME}/Projects/dotfiles/.gitconfig" "${HOME}/.gitconfig"
ln -s "${HOME}/Projects/dotfiles/.config/karabiner.edn" "${HOME}/.config/karabiner.edn"
ln -s "${HOME}/Projects/dotfiles/Caddyfile" "/opt/homebrew/etc/Caddyfile"
ln -s "${HOME}/Projects/dotfiles/dnsmasq.conf" "/opt/homebrew/etc/dnsmasq.conf"
# Disable press-and-hold for keys in favor of key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# Show hidden files in finder
defaults write http://com.apple.Finder AppleShowAllFiles true
# Key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 15
defaults write NSGlobalDomain KeyRepeat -int 1