this post was submitted on 28 Dec 2025
86 points (100.0% liked)

Linux

10804 readers
566 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Fish, a popular user-friendly command-line shell, has announced version 4.3, a new release that builds on the 4.0 series.

One of the most notable changes affects how Fish handles configuration defaults. Universal variables are no longer set automatically. Instead, commonly used variables such as fish_color_, fish_pager_color_, and fish_key_bindings are now defined in the global scope.

On first startup after upgrading, Fish performs a one-time migration, freezing the current theme and key bindings into files under ~/.config/fish/conf.d/. Upstream recommends removing those generated files and managing themes directly in config.fish to keep configurations clean and predictable. Users can still opt into universal variables if needed, though this comes with limitations for dynamic theme switching.

top 8 comments
sorted by: hot top controversial new old
[–] bridgeenjoyer@sh.itjust.works 1 points 14 minutes ago

Fish should be default in mint. Makes linux so much better.

[–] gaylord_fartmaster@lemmy.world 0 points 19 hours ago (4 children)

Who is using fish for scripting, and why?

[–] 0xllx0@programming.dev 1 points 57 minutes ago

defining functions, usually one-liner scripts, is a really nice alternative to aliases.

[–] bigfondue@lemmy.world 1 points 2 hours ago* (last edited 2 hours ago)

It has a more consistent and simpler syntax than bash. I use it all the time

[–] Cris_Color@lemmy.world 7 points 13 hours ago (2 children)

I don't script so not me, but I've heard a lot of people really like it for scripting, since the language is more thoughtfully designed around that usecase. You give up some portability and ability to run them anywhere, but if you're making them just for yourself my impression is that fish can be a great choice for scripting in

Plus, like the other reply said, if you're already using fish (like me :) you may choose to script in fish since thats your chosen shell

[–] KSPAtlas@sopuli.xyz 1 points 3 hours ago

I use nushell, and it's so much nicer for scripting than bash, feels more like a regular programming language

[–] Creat@discuss.tchncs.de 4 points 13 hours ago

Yup, that's a great summary.

I just wanted to add that the reason it's good, specifically better than bash, is that daring to create something that drops compatibility after I don't know how many decades allows to actually apply the lessons from an this time. The lack of portability is basically the reason it can be better, but also obviously a bummer.

[–] illusionist@lemmy.zip 8 points 18 hours ago* (last edited 18 hours ago)

Probably those who use fish? Why should they use and learn two shells?