Versie 4.7.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.
Deprecations and removed featuresInteractive improvements
- The default theme (i.e. the
fish_color_*variables) is no longer set in non-interactive shells.Other 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_pathnow 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).For distributors and developers
- History is no longer corrupted with NUL bytes when fish receives SIGTERM or SIGHUP (#10300).
- fish_update_completions now handles groff
\X'...'device control escapes, fixing completion generation for man pages produced by help2man 1.50 and later (such as coreutils 9.10).- Removing history entries via the web-based config is more intuitive.
- If
XDG_DATA_DIRSis empty, the default value is assumed, which means that fish will now also use configuration from paths like$PREFIX/share/fish/vendor_completions.d(#11349).- Some internal file descriptors were moved to number 10 or higher, to reduce risk of clashes with those used by the user in scripts.
- The wording of error messages has been made consistent, especially for builtin subcommands (#12556).
Regression fixes:
- When the default global config directory (
$PREFIX/etc/fish) exists but has been overridden via-DCMAKE_INSTALL_SYSCONFDIR, fish will now respect that override (#10748).build_tools/update_translations.fishhas been replaced bycargo xtask gettext {check,new,update}(#12676).cargo xtask shellcheckto lint shell-scripts.
