■
久々環境更新。
かっこいいプロンプト表示をしたい。
oh-my-zshを導入したが、Powerlineっぽい表示がまだできていない。
■Ricty for Powerline のインストール
$ brew tap sanemat/font $ brew search ricty $ brew options ricty $ brew install ricty --with-powerline 以下のように怒られたので、 Error: Your Command Line Tools are too outdated. Update them from Software Update in System Preferences or run: softwareupdate --all --install --force $ softwareupdate --all --install --force を実行 結構時間かかった・・・再起動して完了。 が、もう一回``brew install ricty --with-powerline``やってもだめだったので、 $ sudo rm -rf /Library/Developer/CommandLineTools $ sudo xcode-select --install をやって、今度は先に進んだ。
が、Rictyのpowerlineパッチつきフォント使ってみたが、矢印が?になってしまう。 NG。
別のフォントがあることがわかり、こっちを使ってみる。
■HACKGEN 参考:【Bash】ターミナルに矢印を付ける方法を初心者向けに解説する【簡単】 – ブログの設置
brew tap homebrew/cask-fonts brew install font-hackgen brew install font-hackgen-nerd
これは、うまく行った。