1. アカウント設定
- ユーザ追加
- パスワード設定
2. これがないとやっていけないものインストール
- chrome
- 1password(お試し)
- caffeine
- xtrafinder
- photoshop
- editor(atomを新規投入)
注)rubyはデフォで入っている。
$ ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
3. 開発環境系
xcodeインストール
brew インストール
- brewでインストールしたもの -> brew list
itermインストール
https://www.iterm2.com/
ここからダウンロードしてインストール
zshインストール(brew経由)
1. 現在のシェルを確認
現在のシェルを確認
$ dscl localhost -read Local/Default/Users/$USER UserShell
UserShell: /bin/bash
2. brewでzshをインストール
インストール
$ brew install zsh --disable-etcdir
$ brew install zsh-completions
3. /etc/shellsにパスを追加
パスを追加
$ sudo sh -c "echo '/usr/local/bin/zsh' >> /etc/shells"
Password:
$ cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/sh
/bin/tcsh
/bin/zsh
/usr/local/bin/zsh
4. シェルを切り替える
シェルを切り替え
$ chsh -s /usr/local/bin/zsh
ターミナルを再起動
5. 確認
現在のシェルを確認
$ dscl localhost -read Local/Default/Users/$USER UserShell
UserShell: /usr/local/bin/zsh
6. 補完機能をオンに
.zshrc
# 補完
# for zsh-completions
fpath=(/usr/local/share/zsh-completions $fpath)
ターミナル:補完機能を有効にする
autoload -Uz compinit
compinit -u
参考:
http://www.d-wood.com/blog/2014/03/14_5816.html
http://qiita.com/ykirishima/items/f85902c6039f07d07d48