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 3.2.2: Weitere Fehlerbehebungen der 3.2-Reihe

fish 3.2.2 deaktiviert die langsamen pacman-Vorschläge im Command-not-found-Handler, behebt ein Hängen beim Beenden unter macOS, übermäßige CPU-Last bei langen Argumenten, Tastatureingabeprobleme, Completion-Fehler und eine Syntaxhervorhebungs-Regression.

This release of fish fixes a number of additional issues identified in the fish 3.2 series:

  • The command-not-found handler used suggestions from pacman on Arch Linux, but this caused major slowdowns on some systems and has been disabled (#7841).

  • fish will no longer hang on exit if another process is in the foreground on macOS (#7901).

  • Certain programs (such as lazygit) could create situations where fish would not receive keystrokes correctly, but it is now more robust in these situations (#7853).

  • Arguments longer than 1024 characters no longer trigger excessive CPU usage on macOS (#7837).

  • fish builds correctly on macOS when using new versions of Xcode (#7838).

  • Completions for aura (#7865) and tshark (#7858) should no longer produce errors.

  • Background jobs no longer interfere with syntax highlighting (a regression introduced in fish 3.2.1, #7842). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.2.1: Fehlerbehebungen für 3.2.0

fish 3.2.1 behebt mehrere Probleme aus 3.2.0, darunter unerwarteten Text beim Einfügen, Formatierungsreste in Prompts mit __fish_print_pipestatus, Umleitungen auf interne Dateideskriptoren, universelle Variablen, Flackern bei fish_git_prompt und fish_add_path.

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

  • Commands in key bindings are run with fish’s internal terminal modes, instead of the terminal modes typically used for commands. This fixes a bug introduced in 3.2.0, where text would unexpectedly appear on the terminal, especially when pasting (#7770).

  • Prompts which use the internal __fish_print_pipestatus function will display correctly rather than carrying certain modifiers (such as bold) further than intended (#7771).

  • Redirections to internal file descriptors is allowed again, reversing the changes in 3.2.0. This fixes a problem with Midnight Commander (#7769).

  • Universal variables should be fully reliable regardless of operating system again (#7774).

  • fish_git_prompt no longer causes screen flickering in certain terminals (#7775).

  • fish_add_path manipulates the fish_user_paths variable correctly when moving multiple paths (#7776).

  • Pasting with a multi-line command no longer causes a __fish_tokenizer_state error (#7782). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.2.0: Undo/Redo, frühere Builtin-Ausgabe und gekürzte Prompts

fish 3.2.0 bringt Undo und Redo für den Kommandozeileneditor und die Pager-Suche (Ctrl+Z bzw. Alt+/), lässt Builtins schon vor dem vollständigen Einlesen ausgeben, kürzt zu breite Prompts und vervollständigt mehrdeutige Completions nach einmaligem Tab.

Notable improvements and fixes¶

  • Undo and redo support for the command-line editor and pager search (#1367). By default, undo is bound to Control+Z, and redo to Alt+/.

  • Builtins can now output before all data is read. For example, string replace no longer has to read all of stdin before it can begin to output. This makes it usable also for pipes where the previous command hasn’t finished yet, like:

    # Show all dmesg lines related to "usb" dmesg -w | string match '*usb*'

  • Prompts will now be truncated instead of replaced with "> " if they are wider than the terminal (#904). For example:

    ~/dev/build/fish-shell-git/src/fish-shell/build (makepkg)>

    will turn into:

    …h-shell/build (makepkg)>

    It is still possible to react to the COLUMNS variable inside the prompt to implement smarter behavior.

  • fish completes ambiguous completions after pressing tab even when they have a common prefix, without the user having to press tab again (#6924). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.1.2: Fix für hängendes eval

fish 3.1.2 behebt ein Problem, bei dem Befehle wie fzf und enhancd in Verbindung mit eval hingen, weil eval die Ausgabe zu aggressiv gepuffert hatte.

This release of fish fixes a major issue discovered in fish 3.1.1:

  • Commands such as fzf and enhancd, when used with eval, would hang. eval buffered output too aggressively, which has been fixed (#6955).

If you are upgrading from version 3.0.0 or before, please also review the release notes for 3.1.1, 3.1.0 and 3.1b1 (included below).


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.1.1: Korrekturen für größere Probleme aus 3.1.0

fish 3.1.1 behebt mehrere größere Probleme aus 3.1.0, darunter psub-Konstrukte, einen Absturz beim Start in nicht lesbaren Verzeichnissen, die zurückgenommene Glob-Reihenfolge, Umleitungen auf Dateideskriptoren sowie Builds unter macOS und mit neuem GCC.

This release of fish fixes a number of major issues discovered in fish 3.1.0.

  • Commands which involve . ( ... | psub) now work correctly, as a bug in the function --on-job-exit option has been fixed (#6613).

  • Conflicts between upstream packages for ripgrep and bat, and the fish packages, have been resolved (#5822).

  • Starting fish in a directory without read access, such as via su, no longer crashes (#6597).

  • Glob ordering changes which were introduced in 3.1.0 have been reverted, returning the order of globs to the previous state (#6593).

  • Redirections using the deprecated caret syntax to a file descriptor (eg ^&2) work correctly (#6591).

  • Redirections that append to a file descriptor (eg 2>>&1) work correctly (#6614).

  • Building fish on macOS (#6602) or with new versions of GCC (#6604, #6609) is now successful. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.1.0: Finale Version nach Beta 3.1b1

fish 3.1.0 behebt gegenüber der Beta 3.1b1 eine Regression bei Leerzeichen nach Klammern, Build- und Testprobleme unter Cygwin und Solaris-Derivaten, den macOS-Paketbau sowie übermäßige Fehlermeldungen bei Unicode in Nicht-Unicode-Locales.

Compared to the beta release of fish 3.1b1, fish version 3.1.0:

  • Fixes a regression where spaces after a brace were removed despite brace expansion not occurring (#6564).

  • Fixes a number of problems in compiling and testing on Cygwin (#6549) and Solaris-derived systems such as Illumos (#6553, #6554, #6555, #6556, and #6558).

  • Fixes the process for building macOS packages.

  • Fixes a regression where excessive error messages are printed if Unicode characters are emitted in non-Unicode-capable locales (#6584).

  • Contains some improvements to the documentation and a small number of completions.

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


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.1b1: $pipestatus, ungepufferte Pipes und neue Debug-Optionen

fish 3.1b1 führt die Variable $pipestatus ein, puffert Pipes zur letzten Funktion einer Pipeline nicht mehr, überarbeitet die Fehlermeldungen der Builtins und ersetzt --debug-level durch die neue Option --debug samt --debug-output.

Notable improvements and fixes¶

  • A new $pipestatus variable contains a list of exit statuses of the previous job, for each of the separate commands in a pipeline (#5632).

  • fish no longer buffers pipes to the last function in a pipeline, improving many cases where pipes appeared to block or hang (#1396).

  • An overhaul of error messages for builtin commands, including a removal of the overwhelming usage summary, more readable stack traces (#3404, #5434), and stack traces for test (aka [) (#5771).

  • fish’s debugging arguments have been significantly improved. The --debug-level option has been removed, and a new --debug option replaces it. This option accepts various categories, which may be listed via fish --print-debug-categories (#5879). A new --debug-output option allows for redirection of debug output. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.0.2: PWD-Fehler behoben

fish 3.0.2 ignoriert die Umgebungsvariable PWD, wenn sie nicht auf das tatsächliche Arbeitsverzeichnis verweist, was merkwürdiges Verhalten in von Editoren und IDEs gestarteten Terminals behebt.

This release of fish fixes an issue discovered in fish 3.0.1.

Fixes and improvements¶

  • The PWD environment variable is now ignored if it does not resolve to the true working directory, fixing strange behaviour in terminals started by editors and IDEs (#5647).

If you are upgrading from version 2.7.1 or before, please also review the release notes for 3.0.1, 3.0.0 and 3.0b1 (included below).

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.0.1: Korrekturen für größere Probleme aus 3.0.0

fish 3.0.1 behebt mehrere größere Probleme aus 3.0.0, etwa bei exec, while-Schleifen, read --silent, Pfaden mit Leerzeichen unter macOS, dem Start unter Cygwin/MSYS2 und der mehrfachen Ausgabe des Command-not-found-Fehlers.

This release of fish fixes a number of major issues discovered in fish 3.0.0.

Fixes and improvements¶

  • exec does not complain about running foreground jobs when called (#5449).

  • while loops now evaluate to the last executed command in the loop body (or zero if the body was empty), matching POSIX semantics (#4982).

  • read --silent no longer echoes to the tty when run from a non-interactive script (#5519).

  • On macOS, path entries with spaces in /etc/paths and /etc/paths.d now correctly set path entries with spaces. Likewise, MANPATH is correctly set from /etc/manpaths and /etc/manpaths.d (#5481).

  • fish starts correctly under Cygwin/MSYS2 (#5426).

  • The pager-toggle-search binding (Ctrl-S by default) will now activate the search field, even when the pager is not focused.

  • The error when a command is not found is now printed a single time, instead of once per argument (#5588). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.0.0: Hauptversion mit Breaking Changes

fish 3.0.0 ist eine Hauptversion mit inkompatiblen Änderungen, die gegenüber 3.0b1 u. a. den Build gegen musl libc und große numerische Argumente bei test korrigiert und die Verlaufsfärbung entfernt, wobei fish unter Cygwin bekanntermaßen nicht korrekt läuft.

fish 3 is a major release, which introduces some breaking changes alongside improved functionality. Although most existing scripts will continue to work, they should be reviewed against the list contained in the 3.0b1 release notes below.

Compared to the beta release of fish 3.0b1, fish version 3.0.0:

  • builds correctly against musl libc (#5407)

  • handles huge numeric arguments to test correctly (#5414)

  • removes the history colouring introduced in 3.0b1, which did not always work correctly

There is one significant known issue which was not able to be corrected before the release:

  • fish 3.0.0 builds on Cygwin (#5423), but does not run correctly (#5426) and will result in a hanging terminal when started. Cygwin users are encouraged to continue using 2.7.1 until a release which corrects this is available.

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


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 3.0b1: Beta der Hauptversion 3 mit inkompatiblen Änderungen

fish 3.0b1 ist die Beta der Hauptversion 3 mit inkompatiblen Änderungen, darunter weitgehend entfernte Prozess- und Jobexpansion mit %, ungültige Mehrfachzuweisung per set x[1] x[2] a b, ein zu sich selbst expandierendes {} und ein nun unzulässiger Zugriff auf Index 0.

fish 3 is a major release, which introduces some breaking changes alongside improved functionality. Although most existing scripts will continue to work, they should be reviewed against the list below.

Notable non-backward compatible changes¶

  • Process and job expansion has largely been removed. % will no longer perform these expansions, except for %self for the PID of the current shell. Additionally, job management commands (disown, wait, bg, fg and kill) will expand job specifiers starting with % (#4230, #1202).

  • set x[1] x[2] a b, to set multiple elements of an array at once, is no longer valid syntax (#4236).

  • A literal {} now expands to itself, rather than nothing. This makes working with find -exec easier (#1109, #4632).

  • Literally accessing a zero-index is now illegal syntax and is caught by the parser (#4862). (fish indices start at 1) …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.7.1 behebt iTerm-2-Warnung zu Paste Bracketing

fish 2.7.1 behebt ein Problem, bei dem iTerm 2 unter macOS beim Start einer neuen fish-Sitzung eine Warnung zu aktiviertem Paste Bracketing anzeigte.

This release of fish fixes an issue where iTerm 2 on macOS would display a warning about paste bracketing being left on when starting a new fish session (#4521).

If you are upgrading from version 2.6.0 or before, please also review the release notes for 2.7.0 and 2.7b1 (included below).

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.7.0

fish 2.7.0 enthält keine größeren Änderungen gegenüber 2.7b1 und behebt das Problem, dass Xcode-Builds und macOS-Pakete nicht erstellt werden konnten.

There are no major changes between 2.7b1 and 2.7.0. If you are upgrading from version 2.6.0 or before, please also review the release notes for 2.7b1 (included below).

Xcode builds and macOS packages could not be produced with 2.7b1, but this is fixed in 2.7.0.

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.7b1 mit cdh, argparse und neuen string-Unterbefehlen

fish 2.7b1 führt unter anderem den Befehl cdh, den Befehl argparse samt fish_opt, stillschweigend ignorierte ungültige Array-Indizes, bessere Debugging-Funktionen sowie string lower/upper und string escape --style ein.

Notable improvements¶

  • A new cdh (change directory using recent history) command provides a more friendly alternative to prevd/nextd and pushd/popd (#2847).

  • A new argparse command is available to allow fish script to parse arguments with the same behavior as builtin commands. This also includes the fish_opt helper command. (#4190).

  • Invalid array indexes are now silently ignored (#826, #4127).

  • Improvements to the debugging facility, including a prompt specific to the debugger (fish_breakpoint_prompt) and a status is-breakpoint subcommand (#1310).

  • string supports new lower and upper subcommands, for altering the case of strings (#4080). The case changing is not locale-aware yet.- string escape has a new --style=xxx flag where xxx can be script, var, or url (#4150), and can be reversed with string unescape (#3543). …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.6.0

fish 2.6.0 bringt seit der Beta 2.6b1 kleinere Fehlerbehebungen, neue Vervollständigungen für magneto und verbesserte Dokumentation, mit einem bekannten Problem beim Öffnen von Browsern über AppleScript unter macOS Sierra 10.12.5.

Since the beta release of fish 2.6b1, fish version 2.6.0 contains a number of minor fixes, new completions for magneto (#4043), and improvements to the documentation.

Known issues¶

  • Apple macOS Sierra 10.12.5 introduced a problem with launching web browsers from other programs using AppleScript. This affects the fish Web configuration (fish_config); users on these platforms will need to manually open the address displayed in the terminal, such as by copying and pasting it into a browser. This problem will be fixed with macOS 10.12.6.

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


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.6b1 mit disown und Terminalzugriff in Command Substitutions

fish 2.6b1 bringt den neuen Builtin disown, Terminalzugriff für Command Substitutions (z. B. für fzf), Fallback auf COLUMNS und LINES, neue französische und verbesserte deutsche Übersetzungen und entfernt die Abhängigkeit von which.

Notable fixes and improvements¶

  • Jobs running in the background can now be removed from the list of jobs with the new disown builtin, which behaves like the same command in other shells (#2810).

  • Command substitutions now have access to the terminal, like in other shells. This allows tools like fzf to work properly (#1362, #3922).

  • In cases where the operating system does not report the size of the terminal, the COLUMNS and LINES environment variables are used; if they are unset, a default of 80x24 is assumed.

  • New French (#3772 & #3788) and improved German (#3834) translations.

  • fish no longer depends on the which external command.

Other significant changes¶ …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.5.0

fish 2.5.0 enthält keine größeren Änderungen gegenüber 2.5b1, sorgt aber dafür, dass Home, End, Insert, Delete, Page Up und Page Down in Vi-Tastenbelegungen funktionieren.

There are no major changes between 2.5b1 and 2.5.0. If you are upgrading from version 2.4.0 or before, please also review the release notes for 2.5b1 (included below).

Notable fixes and improvements¶

  • The Home, End, Insert, Delete, Page Up and Page Down keys work in Vi-style key bindings (#3731).

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.5b1 setzt C++11 voraus

fish 2.5b1 benötigt C++11, weshalb für einige ältere Linux-Plattformen keine Binärpakete mehr veröffentlicht werden und unter OS X 10.6 eine C++11-Standardbibliothek nötig ist.

Platform Changes¶

Starting with version 2.5, fish requires a more up-to-date version of C++, specifically C++11 (from 2011). This affects some older platforms:

Linux¶

For users building from source, GCC’s g++ 4.8 or later, or LLVM’s clang 3.3 or later, are known to work. Older platforms may require a newer compiler installed.

Unfortunately, because of the complexity of the toolchain, binary packages are no longer published by the fish-shell developers for the following platforms:

  • Red Hat Enterprise Linux and CentOS 5 & 6 for 64-bit builds

  • Ubuntu 12.04 (EoLTS April 2017)

  • Debian 7 (EoLTS May 2018)

Installing newer version of fish on these systems will require building from source.

OS X SnowLeopard¶

Starting with version 2.5, fish requires a C++11 standard library on OS X 10.6 (“SnowLeopard”). If this library is not installed, you will see this error: dyld: Library not loaded: /usr/lib/libc++.1.dylib

MacPorts is the easiest way to obtain this library. After installing the SnowLeopard MacPorts release from the install page, run:

sudo port -v install libcxx

Now fish should launch successfully. (Please open an issue if it does not.)

This is only necessary on 10.6. OS X 10.7 and later include the required library by default. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.4.0

fish 2.4.0 enthält keine größeren Änderungen gegenüber 2.4b1, korrigiert die Dokumentationserzeugung und automatische Cursoränderungen in älteren XTerm-Versionen, verbessert den Titel in Terminal.app und ergänzt Vervollständigungen für defaults und diskutil.

There are no major changes between 2.4b1 and 2.4.0.

Notable fixes and improvements¶

  • The documentation is now generated properly and with the correct version identifier.

  • Automatic cursor changes are now only enabled on the subset of XTerm versions known to support them, resolving a problem where older versions printed garbage to the terminal before and after every prompt (#3499).

  • Improved the title set in Apple Terminal.app.

  • Added completions for defaults and improved completions for diskutil (#3478).


Originalquelle(öffnet in neuem Tab)Problem melden

Fish Shell

fish 2.4b1 mit neuer Zwischenablage und überarbeitetem history

fish 2.4b1 überarbeitet die Zwischenablage-Integration mit eigenen Bindings (C-x, C-v, nun auch auf OS X) und stellt history auf Unterbefehle um, mit neuen Optionen, Suche ohne Beachtung der Groß-/Kleinschreibung und korrekter Behandlung mehrzeiliger Befehle.

Significant changes¶

  • The clipboard integration has been revamped with explicit bindings. The killring commands no longer copy from, or paste to, the X11 clipboard - use the new copy (C-x) and paste (C-v) bindings instead. The clipboard is now available on OS X as well as systems using X11 (e.g. Linux). (#3061)

  • history uses subcommands (history delete) rather than options (history --delete) for its actions (#3367). You can no longer specify multiple actions via flags (e.g., history --delete --save something).

  • New history options have been added, including --max=n to limit the number of history entries, --show-time option to show timestamps (#3175, #3244), and --null to null terminate history entries in the search output.

  • history search is now case-insensitive by default (which also affects history delete) (#3236).

  • history delete now correctly handles multiline commands (#31). …

Originalquelle(öffnet in neuem Tab)Problem melden