Fish is a fully-equipped command line shell (like bash or zsh) that is smart and user-friendly. Fish supports powerful features like syntax highlighting, autosuggestions, and tab completions that just work, with nothing to learn or configure.
Note: If you get errors about missing dependencies (e.g. `libtinfo.so.5`, double check that you are trying to install the correct build for your Sailfish OS version. See below for details.
If you want to make your command line more productive, more useful, and more fun, without learning a bunch of arcane syntax and configuration options, then fish might be just what you’re looking for!
You'll need a terminal emulator - such as Fingerterm or Toeterm - in order to use this. You can also SSH into your device, if you have the developer mode enabled.
If you're unfamiliar with Fish, please check out the Introduction or Fish for bash users to get started!
Warning! Install at your own risk!
Big fat warning! Do NOT install fish as your default shell!
There are four different builds available:
Source code: https://github.com/direc85/fish
Fish shell homepage: https://fishshell.com/
Fish shell source code: https://github.com/fish-shell/fish-shell
3.7.0-1
3.6.1-1
3.6.0-1
3.5.1-1
3.4.1-1
3.4.0-4
3.4.0-3
3.4.0-2
3.4.0-1
Comments
Seven_of_nine
Mon, 2023/05/22 - 19:16
Permalink
libtinfo.so.5()(64bit) is missing on Volla / 4.5.0.19, installation failed.
direc85
Sat, 2023/12/09 - 18:14
Permalink
Try fish-3.6.1-1_sf450.aarch64.rpm instead, that should install. Storeman doesn't pick the correct RPM unfortunately.
This hassle could be avoided by moving the package to Chum, but that's going to have to wait for just a bit longer...
Ahti30708
Mon, 2023/12/11 - 17:09
Permalink
My 10 II has both the so.5 and so.6 versions so any version will install and work.
It's not just Storeman - I uninstalled and installed with zypper and got the 3.4 version!
Ahti30708
Fri, 2023/12/08 - 19:09
Permalink
0) for missing bc install ncurses
1) install fish with zypper, ignore dependencies
2) symlink (or copy) /usr/lib64/libtinfo.so.6 and libncurses.so.6
JacekJagosz
Sun, 2022/08/07 - 17:47
Permalink
It can't find
libtinfo.so.5()(64bit)
But thank you so much for keeping fish up to date!
direc85
Sun, 2022/08/07 - 17:52
Permalink
It looks like you're installing sf430 version on Sailfish 4.4.0.x. If you're using Storeman, it's known not to handle several versions of the same package very well. Try downloading the correct package manually.
Kabouik
Mon, 2022/08/29 - 06:24
Permalink
Would it be possible to add the package to Chum too, to handle that kind of issues (and also to promote Chum with more good software!)? Chum can handle different package versions for different SFOS versions, with adequate conditions in the .spec file.
direc85
Mon, 2022/08/29 - 09:25
Permalink
Yes, that's the plan actually! I have tried to poke around Chum a few times, but the servers have been down at those times.
JacekJagosz
Sun, 2022/08/07 - 17:57
Permalink
Yup, I was using storeman. Thank you!
JacekJagosz
Fri, 2022/04/15 - 12:30
Permalink
Newest version of ToeTerm allows you to set autostart command. This is where you can put fish without making it default shell system-wide.
Just put
/usr/bin/fish
theredirec85
Sat, 2022/04/16 - 15:30
Permalink
Actually, the autostart isn't really an autostart, it's effectively defining a custom shell. I'll update that in the next version, as if set wrong, it can still be fixed in the application.
Mister_Magister
Thu, 2022/04/14 - 11:17
Permalink
had fish running on sfos long time ago but it causes developer tools to not work, have you figured that one out or nah?
direc85
Thu, 2022/04/14 - 11:29
Permalink
If you have fish as a default shell, all kinds of things break (I think it's mostly because fish isn't bash-compatible). My packaging of fish doesn't even add itself to /etc/shells to make it harder to achieve.
Please do try fish again (not as default shell though) and let us know how it went :)
direc85
Thu, 2022/04/14 - 00:46
Permalink
Important: Version 3.4.1-1 now has proper builds for various Sailfish OS versions with proper dependencies. Please update fish to which ever build variant (sf340, sf430, sf440) is the newest for you, and uninstall ncurses-compat-libs if you had it installed (unless you have other software depending on it)!
direc85
Fri, 2022/03/18 - 02:34
Permalink
Fish requires ncurses-compat-libs with Sailfish OS 4.4.0, but for some reason it is still missing from the repositories. So, if you really want to install Fish before Jolla makes the compat lib available, head over to the ticket where you can download the RPM files.
Install them at your own risk! They are system packages and things may/will break when Jolla releases the official packages!
direc85
Thu, 2022/03/17 - 19:25
Permalink
Just a heads up: fish isn't compatible with SFOS 4.4 - at least until I can build it against it. I opened a ticket about it, if you want to see the details.
direc85
Wed, 2022/03/16 - 00:44
Permalink
It was as I anticipated; not only separate builds are needed, but separate .spec files, too.
Now it installs into my Jolla Phone, but `fish_config` doesn't work :(
objectifnul
Tue, 2022/03/15 - 10:18
Permalink
Cannot update the OS on Xperia X without factory reset (due to insane default partitioning)
direc85
Tue, 2022/03/15 - 10:33
Permalink
I just now realized that you're running 3.4, it probably just needs some tweaking with the dependencies. I'll look into it later today. I also have a Jolla Phone, but didn't try fish on it yet, it would have revealed the bug, too.
dimoon91
Tue, 2022/03/15 - 07:25
Permalink
На первый взгляд очень классно. Поставил и на ПК. Будем разбираться)
objectifnul
Tue, 2022/03/15 - 01:59
Permalink
Still same dependency error: python3dist(curses) missing
objectifnul
Mon, 2022/03/14 - 22:59
Permalink
Easy. Just tried to install fish on my Xperia X (SFOS 3.4.0.24) and read the error message.
dimoon91
Tue, 2022/03/15 - 07:27
Permalink
Update the OS.
direc85
Tue, 2022/03/15 - 00:05
Permalink
Updated version pushed with fixed dependencies!
objectifnul
Mon, 2022/03/14 - 18:58
Permalink
How do I fix the missing dependency "python3dist(curses)"?
direc85
Mon, 2022/03/14 - 19:01
Permalink
Thanks for reporting. The packaging needs a lot of attention..!
How did you discover this, out of curiosity?