Register ssh-key to github.com
$ chsh -s /bin/zsh
$ xcode-select --install
$ ssh-keygen -t rsa
$ cat ~/.ssh/id_rsa.pub | pbcopy
// register the ssh-key to github.com
Use setup scripts in dotfiles
$ git clone [email protected]:kthatoto/dotfiles.git
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
$ brew bundle --file ~/dotfiles/assets/Brewfile
$ ln -s ~/dotfiles/.zshrc ~/.zshrc
$ ln -s ~/dotfiles/.zsh ~/.zsh
$ ln -s ~/dotfiles/.config ~/.config
$ ln -s ~/dotfiles/.gitconfig ~/.gitconfig
$ anyenv install --init
$ anyenv install goenv
$ anyenv install nodenv
$ anyenv install rbenv
$ anyenv install pyenv
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1
$ asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
$ asdf install ruby latest
$ asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
$ asdf install nodejs latest
- iTerm2
- Profiles > Colors
- Import
~/dotfiles/assets/hybrid.itermcolors
into "Color Presets" and select it
- Set
#3e65b3
to "Selection"
- Neovim
$ cd ~/dotfiles/.config/nvim/dein
$ ./dein_installer.sh .
$ pyenv install <version>
$ pyenv global <version>
$ pip install neovim // for denite.vim
$ vi
:call dein#update()
:UpdateRemotePlugins
[required]
:CocInstall coc-tsserver
:CocInstall coc-json
:CocInstall coc-pairs
:CocInstall coc-solargraph
:CocInstall coc-eslint
:CocInstall @yaegassy/coc-volar
[optional]
:CocInstall coc-prettier
$ asdf global ruby latest
$ sudo gem install solargraph
$ curl https://sdk.cloud.google.com | zsh
// to display dotfiles on finder
command + shift + .
$ mkdir -p ~/assets/screenshots; defaults write com.apple.screencapture location ~/assets/screenshots
$ defaults write com.apple.screencapture name "screenshot"
$ defaults write -g ApplePressAndHoldEnabled -bool false
$ defaults write /Library/Preferences/FeatureFlags/Domain/UIKit.plist redesigned_text_cursor -dict-add Enabled -bool NO