powerline + fish shell?


how do I setup fish with powerline? Can’t get powerline work.

According powerline docu:

set fish_function_path $fish_function_path"{repository_root}/powerline/bindings/fish"

So I put this line in my config.fish file:

set fish_function_path $fish_function_path "/usr/lib/python3.7/site-packages/powerline/bindings/fish" powerline setup

Where’s the problem? That …/bindings/fish folder is empty btw. :confused:


Whenever posting about a problem…

Provide detailed info about your installation, including links to non-openSUSE URLs (and often for openSUSE stuff, too). I don’t see Official fish documentation, just aux documentation from outside the main project. Even official documentation can sometimes conflict with itself, so it’s important for others to evaluate not just the actions you did but how it’s supposed to fit into however the documentation/guide describes.

You need to descrbe source of your application, if it’s installed from openSUSE or somewhere else and possibly how you installed… by a supplied RPM, build from source, etc.


Thanks for reply!

Combination fish/powerline used to work on Solus.
Got powerline 2.7-1.3 and fish 3.0.2 installed both from the official repo.

Here the powerline documentation:

My System:
Betriebssystem: openSUSE Tumbleweed 20190428
KDE-Plasma-Version: 5.15.4
KDE-Frameworks-Version: 5.57.0
Qt-Version: 5.12.3
Kernel-Version: 5.0.9-1-default
Art des Betriebssystems: 64-bit
Prozessoren: 4 × Intel® Core™ i5-6500T CPU @ 2.50GHz
Speicher: 15,5 GiB Arbeitsspeicher

Got it running!

This is what I had to add to ~/.config/fish/config.fish:

set fish_function_path $fish_function_path "/usr/share/powerline/fish" powerline-setup 

Thanks for reporting back, it may help others!