Mac初期設定メモ

Kazuki Koide

March 3, 2019

MacOS設定

dotfiles

事前にGoogle DriveからSSH鍵をダウンロードして.sshディレクトにいれておく。

$ git clone git@github.com:koirand/dotfiles.git ~/dotfiles
$ cd ~/dotfiles
$ make install

Homebrew

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
$ brew bundle --global

fish shell

$ sudo sh -c "echo /usr/local/bin/fish >> /etc/shells"
$ chsh -s /usr/local/bin/fish

terminfo

$ cat <<EOF >>/tmp/xterm-256color-italic.terminfo
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
xterm-256color-italic|xterm with 256 colors and italic,
  sitm=\E[3m, ritm=\E[23m,
  use=xterm-256color,
EOF
$ tic /tmp/xterm-256color-italic.terminfo

Italic fonts in iTerm2, tmux, and vim - Alex Pearce

cheetsheet

$ git clone git@gist.github.com:07d9a3195a38d5a14e636bdbec0e0862.git ~/Documents/cheetsheet

アプリインストール

Apple Storeから

Webサイトから

Update 2020.12.30

Big Sur向けに修正