Skip to content
elzup edited this page Mar 30, 2018 · 11 revisions

Directory Structure

~/Brewfile/
~/dotfiles/
~/Dropbox/

Setup on macOS

XCode を入れる

HomeBrew

echo "export PATH=/usr/local:$PATH" >> .bash_profile
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Complex script

# Brewfile, dotfiles
curl -sL https://raw.githubusercontent.com/elzup/Brewfile/master/install.sh | sh
cd ~/Brewfile
brew update && brew upgrade && brew bundle
xargs npm install --global < ./npm-global-list

# dotfiles link
curl -sL https://raw.githubusercontent.com/elzup/dotfiles/master/scripts/install_mac.sh | sh

# sudors

$ sudo visudo hiro ALL=(ALL) NOPASSWD: ALL


# chsh

chsh -s /bin/zsh


# System Preference > Internet Accounts (with 1Pass)
# System Preference > Keyboard

# Better Touch Tool

1. import license file
2. import profile (from DropBox)

# Alfred

1. activate with license 
2. Advanced > Syncing > Set preference folder... (Dropbox/Configuration/Alfred)

# iTerm

General > Preferences > Loadpreferences from a custom folder or URL (DropBox/Configuration/iTerm2)


# ghq
go get github.com/motemen/ghq

# zsh plugins
ghq get https://github.com/zsh-users/zsh-completions
ghq get https://github.com/zsh-users/zsh-autosuggestions
ghq get https://github.com/zsh-users/zsh-syntax-highlighting

.ssh

  • DropBox Setup
  • 1Password Setup
cp ~/Dropbox/.ssh.zip ~/
unzip ~/.ssh.zip         # need 1Pass

Editors

IntelliJ

File > Setting Repositry > https://github.com/elzup/IntelliJ.conf

RubyMine

File > Setting Repositry > https://github.com/elzup/RubyMine.conf

Atom setting-sync

apm install sync-settings
GITHUB_TOKEN={1pass} GIST_ID={1pass} atom
Sync Setting: Restore
Clone this wiki locally