Software-update: fish 4.6.0

Fish logo Versie 4.6.0 van fish is uitgekomen. Fish, wat staat voor 'friendly interactive shell', is een Unix-shell met een focus op interactiviteit en gebruikersvriendelijkheid. Het kan bijvoorbeeld worden gebruikt als vervanger van Bash. Downloads zijn beschikbaar voor macOS, Linux, BSD en onder Windows is het ook in de Windows Subsystem for Linux te gebruiken. De changelog voor deze uitgave kan hieronder worden gevonden.

Notable improvements and fixes

  • New Spanish translations (#12489).
  • New Japanese translations (#12499).

Deprecations and removed features

  • The default width for emoji is switched from 1 to 2, improving the experience for users connecting to old systems from modern desktops. Users of old desktops who notice that lines containing emoji are misaligned can set $fish_emoji_width back to 1 (#12562).

Interactive improvements

  • The tab completion pager now left-justifies the description of each column (#12546).
  • fish now supports the SHELL_PROMPT_PREFIX, SHELL_PROMPT_SUFFIX, and SHELL_WELCOME environment variables. The prefix and suffix are automatically prepended and appended to the left prompt, and the welcome message is displayed on startup after the greeting. These variables are set by systemd’s run0 for example (#10924).

Improved terminal support

  • set_color is able to turn off italics, reverse mode, strikethrough and underline individually (e.g. --italics=off).
  • set_color learned the foreground (--foreground or -f) and reset (--reset) options.
  • An error caused by slow terminal responses at macOS startup has been addressed (#12571).

Other improvements

  • Signals like SIGWINCH (as sent on terminal resize) no longer interrupt builtin output (#12496).
  • For compatibility with Bash, fish now accepts |& as alternate spelling of &|, for piping both standard output and standard error (#11516).
  • fish_indent now preserves comments and newlines immediately preceding a brace block ({ }) (#12505).
  • A crash when suspending certain pipelines with ctrl-z has been fixed (#12301).

For distributors and developers

  • cargo xtask subcommands no longer panic on test failures.

Regression fixes:

  • (from 4.5.0) Intermediate artifact when redrawing prompt (#12476).
  • (from 4.4.0) history honors explicitly specified --color= again (#12512).
  • (from 4.4.0) Vi mode dl and dh (#12461).
  • (from 4.3.0) Error completing of commands starting with - (#12522).

fish-shell

Versienummer 4.6.0
Releasestatus Final
Besturingssystemen Linux, BSD, macOS, Windows 10, Windows 11
Website Fish
Download https://fishshell.com
Licentietype GPL

Door Bart van Klaveren

Downloads en Best Buy Guide

28-03-2026 • 08:30

6

Bron: Fish

Update-historie

08:30 fish 4.6.0 6
17-02 fish 4.5.0 0
03-02 fish 4.4.0 4
07-01 fish 4.3.3 21
31-12 fish 4.3.2 0
28-12 fish 4.3.1 16
10-11 fish 4.2.0 0
28-09 fish 4.1.0 12
12-09 fish 4.0.6 3
04-'25 fish 4.0.2 0
Meer historie

Reacties (6)

Sorteer op:

Weergave:

Fish shell syntax wijkt flink af van bash, dat wat mij betreft ruimschoots voldoet, goed uitbreidbaar is en solide. Het is natuurlijk fijn om een fris nieuw uiterlijk te hebben met bv syntax highlighting. Maar waarom export nu set moet worden, en ga zo maar door? Dat betekent nagenoeg alle scripts aanpassen, zelfs herschrijven. Ik hou het bij good old bash.
Hoezo scripts herschrijven? Als het goed is begin je die met een shebang voor bash (#!/usr/bin/env bash), waardoor je script dus uitgevoerd word met bash.

Als je script zonder dat soort dingen, tja. Die shebangs zijn er voor een reden, beter gebruik van maken zou ik zeggen.
De shebang "#!/usr/bin/env bash" is beter qua compatibiliteit.
Het was maar een voorbeeld ;-)
edit:
OG reactie aangepast

[Reactie gewijzigd door sfranken op 28 maart 2026 09:00]

Hoezo wijkt die af? Ik bedoel: ja, technisch gezien wel, maar bash-opdrachten werken ook gewoon in fish, hoor.
Kijk in m'n gitgub repos, shebang shebang https://github.com/robw-nl

Om te kunnen reageren moet je ingelogd zijn