Powerline Shellを使えば、以下のようなカラフルでカッコイイなプロンプトにすることができます。 カッコイイだけじゃなく、プロンプトに以下のような便利機能が追加されます。 GitやSVNなどのブランチ名を表示する。コマンドが失敗した時にプロンプトの色が変わる。深いディレクトリに移動した時、ディレクトリを省略表示する。 PowerlineフォントのインストールPowerline Shellにはパッチが当てられたPowerline Fontsが必要です。以下の手順でまとめて最新版をインストールできます。「./local/share/fonts/」ディレクトリ以下にインストールされます。 git clone https://github.com/powerline/fonts.git --depth=1 cd fonts ./install.sh cd .. rm -rf fontsフ
![Powerline-Shell – コマンドラインを美しく便利にパワーアップ!](https://cdn-ak-scissors.b.st-hatena.com/image/square/b7ff5b4eed7c40565ee3c52cd912751728c326e3/height=288;version=1;width=512/https%3A%2F%2Flinuxfan.info%2Fwp-content%2Fuploads%2F2017%2F10%2Fpowerline-shell.png)