Setup Mac for Development
xcode-select --install
curl -LSfs https://raw.githubusercontent.com/yaeda/setup-mac/master/install.sh | bash
Proxy
If you need, set proxy before the above command.
export http_proxy=<HOST>:<PORT>
export https_proxy=<HOST>:<PORT>
Apple ID
If you use High Sierra, open App Store.app and singin with Apple ID at first.
Because mas signin
doesn't work on High Sierra.
iTerm2
- Launch iTerm2
- Change preferences location
Visual Studio Code
- Launch Visual Studio Code
SHIFT
+ ⌥ +D
(orSHIFT
+ ⌘ +P
>Sync: Download Settings
)- Follow instruction
Divvy
- Open Divvy.app
- Follow instruction (enable accessibility)
Japanese Input
- Go
System Preference
>Keyboard
>Input Sources
- Change Input Source (use google-ime-japanese)
- needs restart
Google IME Setting
- Open Google Japanese Input Preference.app
- Change punctuation style
Disable ^Space hotkeys
- Go
System Preference
>Keyboard
>Shortcuts
>Input Source
- Disable
^Space
and^⌥Space
Set ssh key to GitHub
- Copy public key
cat ~/.ssh/id_rsa_github_tyaeda_gmail.pub | pbcopy
and add key to the GitHub - Create
~/.ssh/config
GitHub with Proxy
Create ~/.ssh/config.proxy like below.
Host github.com
HostName ssh.github.com
User git
Port 443
ProxyCommand connect -H <HOST>:<PORT> %h %p