
Versie 4.3.0 van fish is uitgekomen en wegens een fout is meteen ook een opvolger verschenen. 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.
fish 4.3.1
Deprecations and removed features
- Possible crash after expanding an abbreviation (#12223).
fish 4.3.1
Deprecations and removed featuresScripting improvements
- fish no longer sets universal variables by default, which simplifies configuration. Specifically, the
fish_color_*,fish_pager_color_*andfish_key_bindingsvariables 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.fishand~/.config/fish/conf.d/fish_frozen_key_bindings.fishfiles. 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 savethough unlikefish_config theme choose, that 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 choosenow clears only color variables that were set by earlier invocations of afish_config theme choosecommand (which is how fish’s default theme is set).Interactive improvements
- New status language command allows showing and modifying language settings for fish messages without having to modify environment variables.
- When using a noninteractive fish instance to compute completions,
commandline --cursorworks as expected instead of throwing an error (#11993).fish_tracecan now be set toallto also trace execution of key bindings, event handlers as well as prompt and title functions.New or improved bindings
- When typing immediately after starting fish, the first prompt is now rendered correctly.
- Completion accuracy was improved for file paths containing
=or:(#5363).- Prefix-matching completions are now shown even if they don’t match the case typed by the user (#7944).
- On Cygwin/MSYS, command name completion will favor the non-exe name (
foo) unless the user started typing the extension.- When using the exe name (
foo.exe), fish will use to the description and completions forfooif there are none forfoo.exe.- Autosuggestions now also show soft-wrapped portions (#12045).
Improved terminal support
ctrl-w(backward-kill-path-component) also deletes escaped spaces (#2016).- New special input functions
backward-path-component,forward-path-componentandkill-path-component(#12127).For distributors and developers
- Themes can now be made color-theme-aware by including both
[light]and[dark]sections in the theme file. Some default themes have been made color-theme-aware, meaning they dynamically adjust as your terminal’s background color switches between light and dark colors (#11580).- The working directory is now reported on every fresh prompt (via OSC 7), fixing scenarios where a child process (like
ssh) left behind a stale working directory (#12191).- OSC 133 prompt markers now also mark the prompt end, which improves shell integration with terminals like iTerm2 (#11837).
- Operating-system-specific key bindings are now decided based on the terminal’s host OS.
- Focus reporting is enabled unconditionally, not just inside tmux. To use it, define functions that handle the
fish_focus_inorfish_focus_outevents.- New feature flag
omit-term-workaroundscan be turned on to prevent fish from trying to work around some incompatible terminals.Regression fixes:
- Tarballs no longer contain prebuilt documentation, so building and installing documentation requires Sphinx. To avoid users accidentally losing docs, the
BUILD_DOCSandINSTALL_DOCSconfiguration options have been replaced with a newWITH_DOCSoption.fish_key_readerandfish_indentare now installed as hardlinks tofish, to save some space.
- (from 4.1.0) Crash on incorrectly-set color variables (#12078).
- (from 4.1.0) Crash when autosuggesting Unicode characters with nontrivial lowercase mapping.
- (from 4.2.0) Incorrect emoji width computation on macOS.
- (from 4.2.0) Mouse clicks and
ctrl-ledge cases in multiline command lines (#12121).- (from 4.2.0) Completions for Git remote names on some non-glibc systems.
- (from 4.2.0) Expansion of
~$USER.
