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.9.3

fish 4.9.3 behebt ein weiteres macOS-Problem, bei dem Tottasten (z. B. die Sequenz " und Leertaste im US-International-Layout) fälschlich ein Leerzeichen einfügten.

This release fixes another macOS issue where dead keys, for example the two-key sequence ",space on the US International keyboard layout would incorrectly insert space (#12979).

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.9.1

fish 4.9.1 behebt drei Probleme aus 4.9.0: falsche Bindings für physische Tasten bei nicht standardmäßigen Tastaturlayouts, ein eingefügtes Leerzeichen beim Bestätigen von IME-Zeichen und Alt-Bindings statt Zeicheneingabe bei Tasten wie option-l in macOS-Terminals.

This release fixes the following problems identified in fish 4.9.0:

  • On non-default keyboard layouts, fish executed bindings for physical keys instead of only bindings for the layout’s key. For example, on the Dvorak layout, typing s would insert ; because there is a default binding for ; (#12968).

  • When typing space to accept a character entered via certain IMEs, fish would insert a space instead of the desired character, which has been fixed (#12974).

  • On macOS terminals, keys like option-l would execute bindings for alt-l instead of the historical behavior of inserting a character (like @ on a German layout) (#12973).

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.9.0

fish 4.9.0 fordert das kitty keyboard protocol in Konsole nicht mehr an (per Feature-Flag omit-term-workarounds wieder aktivierbar), erlaubt getrenntes Belegen von shift-space und space, beschleunigt Tab-Vervollständigung bei langsamen Symlinks, unterstützt Beschreibungen für Abkürzungen, korrigiert Vi-Befehle wie cF und cT und erlaubt verschachtelte Listenindizes wie $foo[$bar[1] 2].

Interactive improvements¶

  • To mitigate issues in Konsole version v26.07.80’s implementation of the kitty keyboard protocol, fish no longer requests that protocol on Konsole. The omit-term-workarounds feature flag can be turned on to enable the kitty keyboard protocol on Konsole again (#12948).

  • On some terminals like kitty, keys like shift-space and space can now be mapped independently (#12898).

  • Fixed slow tab completion in directories that contain slow-to-resolve symlinks (e.g. links to network-mounted files) (#12905).

  • Abbreviations can now be given a description, which will be displayed in the completion pager (#11291).

  • Vi mode commands like cF and cT now work correctly (#12947).

Scripting improvements¶

  • List indexing can now be nested in more cases; for example $foo[$bar[1] 2] is now allowed (#12903). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.8.1: Wortweise Bearbeitung, neue Farboptionen und Absturzfix

fish 4.8.1 stellt auf Nicht-macOS-Plattformen die wortweise Bearbeitung mit alt-backspace, alt-delete, alt-left und alt-right wieder her, ermöglicht getrenntes Einfärben von Builtins und Funktionen über fish_color_builtin und fish_color_function, ergänzt fish_darcs_prompt, behebt einen Absturz bei commandline --current-process und erlaubt Prompt-Marking in Konsole per Feature-Flag omit-term-workarounds.

Interactive improvements¶

  • On non-macOS platforms, alt-backspace, alt-delete, alt-left and alt-right operate on words again instead of tokens (#12122) eliminating cross-platform differences in input handling.

  • Builtin and function commands can now be colored separately via new variables fish_color_builtin and fish_color_function (#12837).

  • Add fish_darcs_prompt for Darcs repository status.

  • Fixed a crash in commandline --current-process when the cursor is inside a &| pipe (#12868).

  • Since prompt marking (via OSC 133) causes an issue in Konsole’s default configuration, prompt marking had been disabled for Konsole in 4.8.0. Now the omit-term-workarounds feature flag can be enabled to enable prompt marking on Konsole again (#12859).

Regression fixes:¶ …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.8.0

Version 4.8.0 nutzt für übersetzbare Meldungen im Rust-Code nun Fluent statt GNU gettext, entpackt Argumente von complete --command und --path nicht mehr und behebt verlorene History-Einträge bei parallelen Sitzungen.

Notable improvements and fixes¶

  • Translatable messages defined in Rust source code can and should now be translated using Fluent instead of GNU gettext. For now, GNU gettext continues to be used for translating messages defined in fish scripts. To make Fluent easy to work with, we have added tooling based on the new fluent-ftl-tools library. See Contributing Translations (#11928).

Deprecations and removed features¶

  • Builtin complete’s --command and --path options no longer unescape their argument.

Interactive improvements¶

  • History search would sometimes forget about commands after those were re-run in concurrent sessions. This has been fixed (#10300).

  • fish_hg_prompt, fish_git_prompt and fish_fossil_prompt now strip control characters from VCS state read off disk, matching prompt_pwd.

  • Abbreviations with --position=anywhere can now be completed in argument position, not just in command position (#12630). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.7.0

Version 4.7.0 setzt das Standard-Theme in nicht interaktiven Shells nicht mehr, lässt prompt_pwd Steuerzeichen entfernen und bringt mehrere Verbesserungen bei Interaktion, Vervollständigung und History.

Deprecations and removed features¶

  • The default theme (i.e. the fish_color_* variables) is no longer set in non-interactive shells.

Interactive improvements¶

  • prompt_pwd now strips control characters.

  • Repaint events (as triggered by changes to color variables or by event handlers running commandline -f repaint) no longer reset the completion pager and other transient UI states (#12683).

  • fish_color_valid_path now respects background and underline colors (#12622).

  • funced will no longer lose work if there are parse errors multiple times without new changes to the file.

  • Fixed a case where directory completions were sorted in a surprising order (#12695).

  • When at the command token, the alt-o binding will now open read-only files too (#12671).

  • Private mode in-memory history (set fish_history) is no longer shared with builtin read (#12662).

Other improvements¶ …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.6.0

Version 4.6.0 bringt spanische und japanische Übersetzungen, setzt die Standardbreite für Emoji von 1 auf 2 und unterstützt die Umgebungsvariablen SHELL_PROMPT_PREFIX, SHELL_PROMPT_SUFFIX und SHELL_WELCOME.

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). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.5.0

Version 4.5.0 behebt Vi-Mode-Regressionen aus 4.4.0, bricht die History-Suche mit ctrl-l nicht mehr ab und liest die terminfo-Datenbank nicht mehr aus.

This is mostly a patch release for Vi mode regressions in 4.4.0 but other minor behavior changes are included as well.

Interactive improvements¶

  • ctrl-l no longer cancels history search (#12436).

  • History search cursor positioning now works correctly with characters of arbitrary width.

Deprecations and removed features¶

  • fish no longer reads the terminfo database to alter behaviour based on the TERM environment variable, and does not depend on ncurses or terminfo. The ignore-terminfo feature flag, introduced and enabled by default in fish 4.1, is now permanently enabled. fish may no longer work correctly on Data General Dasher D220 and Wyse WY-350 terminals, but should continue to work on all known terminal emulators released in the 21st century.

Regression fixes:¶

  • (from 4.4.0) Vi mode d,f key binding did not work (#12417).

  • (from 4.4.0) Vi mode c,w key binding wrongly deleted trailing spaces (#12443).

  • (from 4.4.0) Vi mode crash on c,i,w after accepting autosuggestion (#12430). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.4.0

Version 4.4.0 richtet die Vi-Mode-Wortbewegungen weitgehend an Vim aus, fügt neue Eingabefunktionen hinzu, deaktiviert den Standard-Fossil-Prompt und bringt mehrere Verbesserungen für die interaktive Nutzung.

Deprecations and removed features¶

  • The default fossil prompt has been disabled (#12342).

Interactive improvements¶

  • The bind builtin lists mappings from all modes if --mode is not provided (#12214).

  • Line-wise autosuggestions that don’t start a command are no longer shown (739b82c34db, 58e7a50de8a).

  • Builtin history now assumes that PAGER supports ANSI color sequences.

  • fish now clears the terminal’s FLUSHO flag when acquiring control of the terminal, to fix an issue caused by pressing ctrl-o on macOS (#12304).

New or improved bindings¶

  • Vi mode word movements (w, W, e, and E) are now largely in line with Vim. The only exception is that underscores are treated as word separators (#12269).

  • New special input functions to support these movements: forward-word-vi, kill-word-vi, forward-bigword-vi, kill-bigword-vi, forward-word-end, backward-word-end, forward-bigword-end, backward-bigword-end, kill-a-word, kill-inner-word, kill-a-bigword, and kill-inner-bigword. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.3.3: Fehlerbehebungen und neue --color-Option

Version 4.3.3 behebt mehrere Probleme aus 4.3.0 (z. B. teilweise eingefügte Completions, Darstellungsfehler bei Autosuggestions, Theme-Probleme und versteckte letzte Ausgabezeilen) und ergänzt für Befehle wie abbr, bind, complete, functions, history und type eine --color-Option.

This release fixes the following problems identified in fish 4.3.0:

  • Selecting a completion could insert only part of the token (#12249).

  • Glitch with soft-wrapped autosuggestions and fish_right_prompt (#12255).

  • Spurious echo in tmux when typing a command really fast (#12261).

  • tomorrow theme always using the light variant (#12266).

  • fish_config theme choose sometimes not shadowing themes set by e.g. webconfig (#12278).

  • The sample prompts and themes are correctly installed (#12241).

  • Last line of command output could be hidden when missing newline (#12246).

Other improvements include:

  • The abbr, bind, complete, functions, history and type commands now support a --color option to control syntax highlighting in their output. Valid values are auto (default), always, or never. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.3.2: Fehlerbehebungen für macOS, Konfiguration und Prompt

Version 4.3.2 behebt Probleme aus 4.3.0, darunter nicht startende macOS-Pakete, ignorierte extra_functionsdir, bei jedem Start neu angelegte Beispielkonfigurationen, ein störendes Echo von ^[[I und eine Endlosschleife beim Prompt-Neuzeichnen, und fügt die CMake-Option FISH_INDENT_FOR_BUILDING_DOCS hinzu.

This release fixes the following problems identified in 4.3.0:

  • Pre-built macOS packages failed to start due to a Malformed Mach-O file error (#12224).

  • extra_functionsdir (usually vendor_functions.d) and friends were not used (#12226).

  • Sample config file ~/.config/fish/config.fish/ and config directories ~/.config/fish/conf.d/, ~/.config/fish/completions/ and ~/.config/fish/functions/ were recreated on every startup instead of only the first time fish runs on a system (#12230).

  • Spurious echo of ^[[I in some scenarios (#12232).

  • Infinite prompt redraw loop on some prompts (#12233).

  • The removal of pre-built HTML docs from tarballs revealed that cross compilation is broken because we use ${CMAKE_BINARY_DIR}/fish_indent for building HTML docs. As a workaround, the new CMake build option FISH_INDENT_FOR_BUILDING_DOCS can be set to the path of a runnable fish_indent binary.

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.3.1: Absturz nach Abkürzungsexpansion behoben

Version 4.3.1 behebt einen möglichen Absturz nach dem Expandieren einer Abkürzung, der in 4.3.0 auftrat.

This release fixes the following problem identified in 4.3.0:

  • Possible crash after expanding an abbreviation (#12223).

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.3.0: Keine universellen Variablen mehr für Themes standardmäßig

Version 4.3.0 setzt fish_color_*, fish_pager_color_* und fish_key_bindings standardmäßig nicht mehr als universelle, sondern als globale Variablen und migriert bestehende Werte einmalig in Dateien unter conf.d, außerdem löscht fish_config theme choose nur noch zuvor selbst gesetzte Farbvariablen.

Deprecations and removed features¶

  • fish no longer sets user-facing universal variables by default, making the configuration easier to understand. Specifically, the fish_color_*, fish_pager_color_* and fish_key_bindings variables are now set in the global scope by default. After upgrading to 4.3.0, fish will (once and never again) migrate these universals to globals set at startup in the ~/.config/fish/conf.d/fish_frozen_theme.fish and ~/.config/fish/conf.d/fish_frozen_key_bindings.fish files. We suggest that you delete those files and set your theme in ~/.config/fish/config.fish.

    • You can still configure fish to propagate theme changes instantly; see here for an example.

    • You can still opt into storing color variables in the universal scope via fish_config theme save though unlike fish_config theme choose, it does not support dynamic theme switching based on the terminal’s color theme (see below).

  • In addition to setting the variables which are explicitly defined in the given theme, fish_config theme choose now clears only color variables that were set by earlier invocations of a fish_config theme choose command (which is how fish’s default theme is set).

Scripting improvements¶ …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.2.1: Fehlende Man-Pages und Theme-Auswahl repariert

Version 4.2.1 behebt fehlende eingebaute Man-Pages und Hilfedateien beim Bauen ohne Sphinx sowie den defekten Theme-Selektor im Tab „colors“ von fish_config.

This release fixes the following problems identified in 4.2.0:

  • When building from a tarball without Sphinx (that is, with -DBUILD_DOCS=OFF or when sphinx-build is not found), builtin man pages and help files were missing, which has been fixed (#12052).

  • fish_config’s theme selector (the “colors” tab) was broken, which has been fixed (#12053).

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.2.0: Mehrzeilige Autosuggestions und neue Übersetzungen

Version 4.2.0 nimmt mehrzeilige Befehle in verlaufsbasierte Autosuggestions auf, löscht transiente Prompts mit mehr Zeilen korrekt, ergänzt taiwanesisch-chinesische und erweiterte französische Übersetzungen, geht standardmäßig von UTF-8 aus und erlaubt über fish_tab_title einen separaten Tab-Titel.

Notable improvements and fixes¶

  • History-based autosuggestions now include multi-line commands.

  • A transient prompt containing more lines than the final prompt will now be cleared properly (#11875).

  • Taiwanese Chinese translations have been added.

  • French translations have been supplemented (#11842).

Deprecations and removed features¶

  • fish now assumes UTF-8 for character encoding even if the system does not have a UTF-8 locale. Input bytes which are not valid UTF-8 are still round-tripped correctly. For example, file paths using legacy encodings can still be used, but may be rendered differently on the command line.

  • On systems where no multi-byte locale is available, fish will no longer fall back to using ASCII replacements for Unicode characters such as “…”.

Interactive improvements¶

  • The title of the terminal tab can now be set separately from the window title by defining the fish_tab_title function (#2692). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.1.2: Mehrere Regressionen aus 4.1.0 behoben

Version 4.1.2 behebt Regressionen aus 4.1.0, darunter Fehlerausgaben bei scp-Pfadvervollständigung, die alt-l-Belegung, falsch neu gezeichnete mehrzeilige Prompts in tmux, Probleme mit Midnight Commander und Zellij sowie ungültige Konfigurationen des webbasierten Konfigurationstools.

This release fixes the following regressions identified in 4.1.0:

  • Fixed spurious error output when completing remote file paths for scp (#11860).

  • Fixed the alt-l binding not formatting ls output correctly (one entry per line, no colors) (#11888).

  • Fixed an issue where focus events (currently only enabled in tmux) would cause multiline prompts to be redrawn in the wrong line (#11870).

  • Stopped printing output that would cause a glitch on old versions of Midnight Commander (#11869).

  • Added a fix for some configurations of Zellij where escape key processing was delayed (#11868).

  • Fixed a case where the web-based configuration tool would generate invalid configuration (#11861).

  • Fixed a case where pasting into fish -c read would fail with a noisy error (#11836).

  • Fixed a case where upgrading fish would break old versions of fish that were still running. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.1.1: Korrekturen für Übersetzungen und Terminal-Probleme

Version 4.1.1 korrigiert oder entfernt verwirrende chinesische Übersetzungen, repariert fish_config-Unterbefehle in Standalone-Linux-Builds und ergänzt Workarounds für Verzögerungen in Windows Terminal und Probleme mit Shift-Eingaben in WezTerm.

This release fixes the following regressions identified in 4.1.0:

  • Many of our new Chinese translations were more confusing than helpful; they have been fixed or removed (#11833).

    Note that you can work around this type of issue by configuring fish’s message localization: if your environment contains something like LANG=zh_CN.UTF-8, you can use set -g LC_MESSAGES en to use English messages inside fish. This will not affect fish’s child processes unless LC_MESSAGES was already exported.

  • Some fish_config subcommands for showing prompts and themes had been broken in standalone Linux builds (those using the embed-data cargo feature), which has been fixed (#11832).

  • On Windows Terminal, we observed an issue where fish would fail to read the terminal’s response to our new startup queries, causing noticeable lags and a misleading error message. A workaround has been added (#11841).

  • A WezTerm issue breaking shifted key input has resurfaced on some versions of WezTerm; our workaround has been extended to cover all versions for now (#11204). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 4.1.0: Geschweifte Klammern, transiente Prompts und mehr

Version 4.1.0 erlaubt zusammengesetzte Befehle mit geschweiften Klammern, führt transiente Prompts über fish_transient_prompt ein, kürzt Tab-Completion-Ergebnisse bis zum gemeinsamen Verzeichnispfad, installiert bei selbstinstallierenden Builds keine weiteren Dateien mehr und überarbeitet die gettext-Lokalisierung.

Notable improvements and fixes¶

  • Compound commands (begin; echo 1; echo 2; end) can now be written using braces ({ echo1; echo 2 }), like in other shells.

  • fish now supports transient prompts: if fish_transient_prompt is set to 1, fish will reexecute prompt functions with the --final-rendering argument before running a commandline (#11153).

  • Tab completion results are truncated up to the common directory path, instead of somewhere inside that path. E.g. if you complete “share/functions”, and it includes the files “foo.fish” and “bar.fish”, the completion pager will now show “…/foo.fish” and “…/bar.fish” (#11250).

  • Self-installing builds as created by e.g. cargo install no longer install other files, see below.

  • Our gettext-based message-localization has been reworked, adding translations to self-installing builds; see below.

Deprecations and removed features¶ …

Originalquelle(öffnet in neuem Tab)Problem melden