LoginSignup
7
7

More than 5 years have passed since last update.

[メモ]Macのbashをfishに乗り換える

Last updated at Posted at 2018-10-09

本記事は自分用のfishへ乗り換えるメモ

fishとは

カスタマイズするとこんな感じになる。
image.png

Gitブランチの表示や入力補完が結構強力。

環境

  • 本体
    MacBook (Retina, 12-inch, Early 2015)

  • OS
    MacOS Mojave

インストール手順

  • fishインストール
brew install fish
pip3 install --user git+git://github.com/powerline/powerline
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
# If not running interactively, don't do anything
case $- in
    *i*) exec fish;;
      *) return;;
esac
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
# fishに切り替えてから実行
fish
fisher add oh-my-fish/theme-bobthefish
  • ターミナルフォントの変更(iterm2)
    使いたいPowerlineのフォントを検索して適用する。 image.png
7
7
0

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