Zum Inhalt springen

Fish Shell Release Notes

Einträge
67
Quellen
1
Zuletzt aktualisiert

Folge Fish Shell, um die Release Notes in deinen Feed zu holen.

Fish Shell

fish 4.0.9: Behebung von Regressionen bei Tasten, Build und bg

Version 4.0.9 behebt Regressionen, durch die Shift-Tasten auf manchen Terminals nicht eingefügt wurden, der Build auf Systemen mit vorzeichenlosem char scheiterte und ein ungültiger bg-Aufruf abstürzte.

This release fixes:

  • a regression in 4.0.6 causing shifted keys to not be inserted on some terminals (#11813).

  • a regression in 4.0.6 causing the build to fail on systems where char is unsigned (#11804).

  • a regression in 4.0.0 causing a crash on an invalid bg invocation.


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.0.8: Verdeckte Benutzer-Bindings behoben

Version 4.0.8 behebt eine Regression aus 4.0.6, bei der Benutzer-Bindings von fish- oder Plugin-Bindings überdeckt wurden.

This release fixes a regression in 4.0.6 that caused user bindings to be shadowed by either fish’s or a plugin’s bindings (#11803).


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.0.6: Diverse Fehlerbehebungen gegenüber 4.0.2

Version 4.0.6 behebt mehrere Probleme, darunter die PATH-Vererbung unter WSL2, die Breitenberechnung in printf, die Ausgabe von commandline -C und die Erkennung von Remote-Dateisystemen, und ergänzt ein Feature-Flag no-mark-prompt, um Prompt-Markierung (OSC 133) zu deaktivieren.

This release of fish fixes a number of issues identified in fish 4.0.2:

  • fish now properly inherits $PATH under Windows WSL2 (#11354).

  • Remote filesystems are detected properly again on non-Linux systems.

  • the printf builtin no longer miscalculates width of multi-byte characters (#11412).

  • For many years, fish has been “relocatable” -- it was possible to move the entire CMAKE_INSTALL_PREFIX and fish would use paths relative to its binary. Only gettext locale paths were still determined purely at compile time, which has been fixed.

  • the commandline builtin failed to print the commandline set by a commandline -C invocation, which broke some completion scripts. This has been corrected (#11423).

  • To work around terminals that fail to parse Operating System Command (OSC) sequences, a temporary feature flag has been added. It allows you to disable prompt marking (OSC 133) by running (once) set -Ua fish_features no-mark-prompt and restarting fish (#11749).

  • The routines to save history and universal variables have seen some robustness improvements.

  • builtin status current-command no longer prints a trailing blank line. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.0.2: Korrekturen bei Completions, terminfo und test

Version 4.0.2 setzt Completions nur noch bei Eindeutigkeit in Anführungszeichen, stuft die terminfo-Warnung zu einer Log-Meldung herab, ermöglicht Bindings mit dem super-Präfix wirklich, macht function bei der Argumentprüfung strenger und repariert Klammern in test.

This release of fish fixes a number of issues identified in fish 4.0.1:

  • Completions are quoted, rather than backslash-escaped, only if the completion is unambiguous. Continuing to edit the token is therefore easier (#11271). This changes the behavior introduced in 4.0.0 where all completions were quoted.

  • The warning when the terminfo database can’t be found has been downgraded to a log message. fish will act as if the terminal behaves like xterm-256color, which is correct for the vast majority of cases (#11277, #11290).

  • Key combinations using the super (Windows/command) key can now (actually) be bound using the super- prefix (#11217). This was listed in the release notes for 4.0.1 but did not work correctly.

  • function is stricter about argument parsing, rather than allowing additional parameters to be silently ignored (#11295).

  • Using parentheses in the test builtin works correctly, following a regression in 4.0.0 where they were not recognized (#11387). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.0.1: Verbesserungen gegenüber 4.0.0

Version 4.0.1 ermöglicht Tastenkombinationen mit dem super-Präfix, ergänzt status is-interactive-read, sendet keine Cursorform-Befehle mehr in nicht interaktiven Shells und behebt Probleme mit Konsole, Terminal.app, qemu, Prompts mit Steuerzeichen und dem Abbrechen im Vi-Modus.

This release of fish includes the following improvements compared to fish 4.0.0:

  • Key combinations using the super (Windows/command) key can be bound using the super- prefix (#11217).

  • Konsole’s menu shows the “Open folder with” option again (#11198).

  • $fish_color_search_match will now only be applied to the foreground color if it has an explicit foreground. For example, this allows setting::

    set -g fish_color_search_match --reverse

  • Cursor shape commands (\e[2 q) are no longer sent in non-interactive shells or in redirections (#11255).

  • status gained a is-interactive-read subcommand, to check whether the script is being called from an interactive read invocation.

  • fish’s background tasks are now started in a way that avoids an error on macOS Terminal.app (#11181).

  • Using key combinations within qemu should work correctly.

  • Prompts containing control characters no longer cause incorrect display of command lines (#11252).

  • Cancelling the command-line in Vi mode displays correctly again (#11261). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.0.0: Kerncode von C++ nach Rust portiert

Version 4.0.0 portiert den Kerncode von C++ nach Rust ohne direkte Auswirkungen für Nutzer, bringt aber inkompatible Änderungen wie eine neue Tastennotation für bind, ein neues ctrl-c-Verhalten mit clear-commandline und andere Werte bei random mit gleichem Seed.

fish’s core code has been ported from C++ to Rust (#9512). This means a large change in dependencies and how to build fish. However, there should be no direct impact on users. Packagers should see the For Distributors section at the end.

Notable backwards-incompatible changes¶

  • As part of a larger binding rework, bind gained a new key notation. In most cases the old notation should keep working, but in rare cases you may have to change a bind invocation to use the new notation. See below for details.

  • ctrl-c now calls a new bind function called clear-commandline. The old behavior, which leaves a “^C” marker, is available as cancel-commandline (#10935)

  • random will produce different values from previous versions of fish when used with the same seed, and will work more sensibly with small seed numbers. The seed was never guaranteed to give the same result across systems, so we do not expect this to have a large impact (#9593). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.0b1: Hinweis auf Verbesserungen bis 4.0.0

Nach der Beta 4.0b1 flossen in fish 4.0.0 Fehlerbehebungen für Regressionen, bessere Completions und Dokumentation sowie das Entfernen einiger problematischer Änderungen ein.

A number of improvements were included in fish 4.0.0 following the beta release of 4.0b1. These include fixes for regressions, improvements to completions and documentation, and the removal of a small number of problematic changes.

The full list of fixed issues can be found on the GitHub milestone page for 4.0-final.


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.7.1: Fehlerbehebungen und neue Completions

Version 3.7.1 behebt das Löschen des letzten Verlaufseintrags mit history delete, nicht existierende Pfade bei Wildcards und einen Absturz bei ELF-Programmen ohne Interpreter, lässt funced die Datei stets neu einlesen und ergänzt Completions für u. a. cobra-cli, dmidecode und mycli.

This release of fish fixes the following problems identified in fish 3.7.0:

  • Deleting the last history entry via history delete works again (#10190).

  • Wildcards (*) will no longer sometimes generate paths that did not exist (#10205).

This release also contains some improvements:

  • A crash when trying to run an ELF program with a missing interpreter has been fixed. This crashed in the process after fork, so did not affect the fish process that tried to start the program (#10199).

  • funced will now always source the file after it has written it, even if the contents did not change. This prevents issues if the file was otherwise modified (#10318).

  • The warning for when a builtin returns a negative exit code was improved, now mentioning the original status (#10187).

  • Added completions for

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.7.0: Verbesserter History-Pager und weitere Neuerungen

Version 3.7.0 verbessert den History-Pager, der nun auch Teilsequenz-Treffer findet, bei bestehender Suche das Suchfeld füllt und beim Schließen mit Enter den Suchtext in die Kommandozeile übernimmt; fish bleibt in dieser Version ein C++-Programm.

This release of fish includes a number of improvements over fish 3.6.4, detailed below. Although work continues on the porting of fish internals to the Rust programming language, that work is not included in this release. fish 3.7.0 and any future releases in the 3.7 series remain C++ programs.

Notable improvements and fixes¶

  • Improvements to the history pager, including:

    • The history pager will now also attempt subsequence matches (#9476), so you can find a command line like git log 3.6.1..Integration_3.7.0 by searching for gitInt.

    • Opening the history pager will now fill the search field with a search string if you’re already in a search (#10005). This makes it nicer to search something with up and then later decide to switch to the full pager.

    • Closing the history pager with enter will now copy the search text to the commandline if there was no match, so you can continue editing the command you tried to find right away (#9934). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.6.4: Vollständige Korrektur des Testsuite-Fehlers

Version 3.6.4 enthält eine vollständige Behebung des Testsuite-Fehlers aus fish 3.6.2 und 3.6.3.

This release contains a complete fix for the test suite failure in fish 3.6.2 and 3.6.3.


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.6.2: Sicherheitsfix für CVE-2023-49284

fish 3.6.2 behebt das geringfügige Sicherheitsproblem CVE-2023-49284, bei dem interne Unicode-Non-Character-Marker aus der Ausgabe von Command Substitution fälschlich gelesen werden konnten.

This release of fish contains a security fix for CVE-2023-49284, a minor security problem identified in fish 3.6.1 and previous versions (thought to affect all released versions of fish).

fish uses certain Unicode non-characters internally for marking wildcards and expansions. It incorrectly allowed these markers to be read on command substitution output, rather than transforming them into a safe internal representation.

For example, echo \UFDD2HOME has the same output as echo $HOME.

While this may cause unexpected behavior with direct input, this may become a minor security problem if the output is being fed from an external program into a command substitution where this output may not be expected.


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.6.1: Korrekturen und Verbesserungen bei abbr, read und set_color

fish 3.6.1 bringt Verbesserungen bei abbr (u. a. löscht abbr --erase nun auch alte universelle Variablen), entfernt die Web-Konfiguration für Abbreviations, lässt read bei schreibgeschützten Variablen einen Fehler ausgeben und behebt einen Absturz bei set_color -v.

This release of fish contains a number of fixes for problems identified in fish 3.6.1, as well as some enhancements.

Notable improvements and fixes¶

  • abbr --erase now also erases the universal variables used by the old abbr function. That means:

    abbr --erase (abbr --list)

    can now be used to clean out all old abbreviations (#9468).

  • abbr --add --universal now warns about --universal being non-functional, to make it easier to detect old-style abbr calls (#9475).

Deprecations and removed features¶

  • The Web-based configuration for abbreviations has been removed, as it was not functional with the changes abbreviations introduced in 3.6.0 (#9460).

Scripting improvements¶

  • abbr --list no longer escapes the abbr name, which is necessary to be able to pass it to abbr --erase (#9470).

  • read will now print an error if told to set a read-only variable, instead of silently doing nothing (#9346).

  • set_color -v no longer crashes fish (#9640). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.6.0: History-Pager mit Ctrl-R und flexiblere Abbreviations

fish 3.6.0 öffnet mit Ctrl-R standardmäßig die durchsuchbare, syntaxhervorgehobene Befehlshistorie im Pager und macht Abbreviations flexibler, etwa mit Regex, Funktionen, beliebiger Position und frei wählbarer Cursorposition.

Notable improvements and fixes¶

  • By default, ctrl-r now opens the command history in the pager (#602). This is fully searchable and syntax-highlighted, as an alternative to the incremental search seen in other shells. The new special input function history-pager has been added for custom bindings.

  • Abbreviations are more flexible (#9313, #5003, #2287):

    • They may optionally replace tokens anywhere on the command line, instead of only commands

    • Matching tokens may be described using a regular expression instead of a literal word

    • The replacement text may be produced by a fish function, instead of a literal word

    • They may position the cursor anywhere in the expansion, instead of at the end

    For example:

    function multicd echo cd (string repeat -n (math (string length -- $argv[1]) - 1) ../) end

    abbr --add dotdot --regex '^\.\.+$' --function multicd

    This expands .. to cd ../, ... to cd ../../ and .... to cd ../../../ and so on.

    Or:

    function last_history_item; echo $history[1]; end abbr -a !! --position anywhere --function last_history_item …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.5.1: Kleine Verbesserungen und neue Completions

fish 3.5.1 aktiviert Cursor-Shaping für den Vi-Modus standardmäßig in tmux, verbessert einige Fehlermeldungen, ergänzt Completions für choose, expect, navi, qdbus und reflector und behebt Probleme aus 3.5.0 wie die Vervollständigung von git blame.

This release of fish introduces the following small enhancements:

  • Cursor shaping for Vi mode is enabled by default in tmux, and will be used if the outer terminal is capable (#8981).

  • printf returns a better error when used with arguments interpreted as octal numbers (#9035).

  • history merge when in private mode is now an error, rather than wiping out other sessions’ history (#9050).

  • The error message when launching a command that is built for the wrong architecture on macOS is more helpful (#9052).

  • Added completions for:

  • Improvements to some completions.

This release also fixes a number of problems identified in fish 3.5.0.

  • Completing git blame or git -C works correctly (#9053). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.5.0: Neuer path-Builtin und Signalbehandlung in Skripten

fish 3.5.0 führt den Builtin-Befehl path zum Filtern und Umwandeln von Pfaden ein, expandiert Wildcards per Tab, erlaubt das Abfangen von SIGINT und SIGTERM und macht das Feature-Flag stderr-nocaret schreibgeschützt.

Notable improvements and fixes¶

  • A new path builtin command to filter and transform paths (#7659, #8958). For example, to list all the separate extensions used on files in /usr/share/man (after removing one extension, commonly a “.gz”):

    path filter -f /usr/share/man/** | path change-extension '' | path extension | path sort -u

  • Tab (or any key bound to complete) now expands wildcards instead of invoking completions, if there is a wildcard in the path component under the cursor (#954, #8593).

  • Scripts can now catch and handle the SIGINT and SIGTERM signals, either via function --on-signal or with trap (#6649).

Deprecations and removed features¶

  • The stderr-nocaret feature flag, introduced in fish 3.0 and enabled by default in fish 3.1, has been made read-only. That means it is no longer possible to disable it, and code supporting the ^ redirection has been removed (#8857, #8865). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.4.1: Fehlerbehebungen für 3.4.0

fish 3.4.1 behebt mehrere Probleme aus 3.4.0, darunter einen Fehler nach dem Upgrade mit fish_title, Builds unter NetBSD und OpenIndiana, das Verhalten von nextd-or-forward-word sowie funcsave -q.

This release of fish fixes the following problems identified in fish 3.4.0:

  • An error printed after upgrading, where old instances could pick up a newer version of the fish_title function, has been fixed (#8778)

  • fish builds correctly on NetBSD (#8788) and OpenIndiana (#8780).

  • nextd-or-forward-word, bound to alt-right by default, was inadvertently changed to move like forward-bigword. This has been corrected (#8790).

  • funcsave -q and funcsave --quiet now work correctly (#8830).

  • Issues with the csharp and nmcli completions were corrected.

If you are upgrading from version 3.3.1 or before, please also review the release notes for 3.4.0 (included below).


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.4.0: $(cmd)-Syntax, fish_config theme und set --function

fish 3.4.0 erweitert die Command-Substitution um $(cmd) auch in doppelten Anführungszeichen, ergänzt fish_config theme zum Anzeigen und Wählen von Themes im Terminal und führt die Option --function für set und read ein.

Notable improvements and fixes¶

  • fish’s command substitution syntax has been extended: $(cmd) now has the same meaning as (cmd) but it can be used inside double quotes, to prevent line splitting of the results (#159):

    foo (bar | string collect) # can now be written as foo "$(bar)"

    # and

    foo (bar) # can now be written as foo $(bar) # this will still split on newlines only.

  • Complementing the prompt command in 3.3.0, fish_config gained a theme subcommand to show and pick from the sample themes (meaning color schemes) directly in the terminal, instead of having to open a Web browser. For example fish_config theme choose Nord loads the Nord theme in the current session (#8132). The current theme can be saved with fish_config theme dump, and custom themes can be added by saving them in ~/.config/fish/themes/.

  • set and read learned a new option, --function, to set a variable in the function’s top scope. This should be a more familiar way of scoping variables and avoids issues with --local, which is actually block-scoped (#565, #8145):

    function demonstration if true set --function foo bar …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.3.1: Fehlerbehebungen für 3.3.0

fish 3.3.1 behebt Probleme aus 3.3.0, etwa das Neuzeichnen von Prompt und Kommandozeile bei Änderungen universeller Variablen, einen überflüssigen Fehler bei PATH/CDPATH, die Vi-Modus-Anzeige nach Ctrl-C und Builds ohne spawn.h.

This release of fish fixes the following problems identified in fish 3.3.0:

  • The prompt and command line are redrawn correctly in response to universal variable changes (#8088).

  • A superfluous error that was produced when setting the PATH or CDPATH environment variables to include colon-delimited components that do not exist was removed (#8095).

  • The Vi mode indicator in the prompt is repainted correctly after ctrl-c cancels the current command (#8103).

  • fish builds correctly on platforms that do not have a spawn.h header, such as old versions of OS X (#8097).

A number of improvements to the documentation, and fixes for completions, are included as well.

If you are upgrading from version 3.2.2 or before, please also review the release notes for 3.3.0 (included below).


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.3.0: fish_config prompt und neu strukturierte Dokumentation

fish 3.3.0 ergänzt fish_config prompt zum Anzeigen und Wählen von Beispiel-Prompts im Terminal, ordnet die Dokumentation neu und deaktiviert standardmäßig die ^-Umleitung für Standardfehler.

Notable improvements and fixes¶

  • fish_config gained a prompt subcommand to show and pick from the sample prompts directly in the terminal, instead of having to open a webbrowser. For example fish_config prompt choose default loads the default prompt in the current session (#7958).

  • The documentation has been reorganized to be easier to understand (#7773).

Deprecations and removed features¶

  • The $fish_history value “default” is no longer special. It used to be treated the same as “fish” (#7650).

  • Redirection to standard error with the ^ character has been disabled by default. It can be turned back on using the stderr-nocaret feature flag, but will eventually be disabled completely (#7105).

  • Specifying an initial tab to fish_config now only works with fish_config browse (eg fish_config browse variables), otherwise it would interfere with the new prompt subcommand (see below) (#7958).

Scripting improvements¶ …

Originalquelle(öffnet in neuem Tab)Problem melden