13
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac で homebrew の bash をログインシェルにする

Last updated at Posted at 2015-05-07

peco が使いたくて、bash のバージョンを 4 以上にしたくて実施しました。1

Homebrew で bash をインストール

brew update
brew install bash

ログインシェルの変更

/etc/shells に追記して、chsh 実行

echo '/usr/local/bin/bash' | sudo tee -a /etc/shells
chsh -s /usr/local/bin/bash

端末を再起動して、完了。

参考

  1. bashでもpercolをイイ感じに使う方法 - (ひ)メモ

13
17
2

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
13
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?