LoginSignup
86
81

More than 5 years have passed since last update.

homebrewを使ってiTerm2でRicty for powerline設定した

Last updated at Posted at 2014-06-19

preztopowerlineテーマ使いたかったので

インストール

brew update

# すでにRictyがインストールされている場合
brew uninstall ricty

# Rictyがインストールされていない場合tapでリポジトリを追加する
brew tap sanemat/font

brew install --vim-powerline ricty

# 展開ディレクトリは環境に合わせる
cp -f /usr/local/Cellar/ricty/3.2.3/share/fonts/Ricty*.ttf ~/Library/Fonts/ 

# フォントのキャッシュ削除
fc-cache -vf

# シェルの再起動
exec $SHELL -l

設定

iTermの環境設定 > Profiles > Default > Text
Regular FontNon-ASCII FontRicty Regular for Powerlineに設定する

これでoh-my-zshpreztoでかっこいいpromptが表示できるようになる(別途テーマのインストールが必要)

pl.png

かわいい

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