Powerline is a wonderful utility apart from visually pleasing shell prompts.
In the early days it was a whole lot of effort to install and apply it to Linux / Ubuntu. However the situations have changed. Now it is
sudo apt install powerline
and there you have it.
Now to add this to Fish, the best way is to use Oh My Fish. Once Oh My Fish is installed, enable bobthefish
theme. This can be done by using the command below.
omf theme bobthefish
This makes Fish with a beautiful Powerline
The beauty of this is once the Powerline is installed, it installs everything with it, the fonts, the dependency for Python scripts and all those. Previously it was a mannual job to configure everything by hand.
Since Powerline is written in Python, sometimes this simple installation process might not show the desired effect! In that case the solution that worked for me is
- Uninstall Powerline
- Install Python3
- Install Pip3
- Install Powerline
- Enable the theme in Oh My Fish
Happy Fishing