LoginSignup
21

More than 5 years have passed since last update.

Macでhomebrewのzshを使う

Last updated at Posted at 2012-07-10

homebrewでインストールしたzshはそのままではログインシェルとして使えません。
なのでパスを登録しましょう。

homebrewでzshをインストール

brew install zsh

/etc/shellsにシェルのパスを追加

/etc/shellsにhomebrewで入れたシェルのパスを追加します。

sudo vim /etc/shells

vimで開いたら最後に(zshの場合)

/usr/local/bin/zsh

を追加します。

デフォルトシェル変更

変更したシェルを設定します。

chsh -s /usr/local/bin/zsh

これで完了です。

グッバイ野郎ども! コピペではじめるzshファイナルなどを参考にzshの設定をしましょう。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21