3.6.1
版本发布时间: 2023-03-25 17:09:19
fish-shell/fish-shell最新发布版本:3.7.1(2024-03-19 13:29:28)
This release of fish contains a number of fixes for problems identified in fish 3.6.0, 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-styleabbr
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 toabbr --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).
Interactive improvements
- Using
fish_vi_key_bindings
in combination with fish’s--no-config
mode works without locking up the shell (#9443). - The history pager now uses more screen space, usually half the screen (#9458)
- Variables that were set while the locale was C (the default ASCII-only locale) will now properly be encoded if the locale is switched (#2613, #9473).
- Escape during history search restores the original command line again (fixing a regression in 3.6.0).
- Using
--help
on builtins now respects the$MANPAGER
variable, in preference to$PAGER
(#9488). -
Control-G
closes the history pager, like other shells (#9484). - The documentation for the
:
,[
and.
builtin commands can now be looked up withman
(#9552). - fish no longer crashes when searching history for non-ASCII codepoints case-insensitively (#9628).
- The
Alt-S
binding will now also useplease
if available (#9635). - Themes that don’t specify every color option can be installed correctly in the Web-based configuration (#9590).
- Compatibility with Midnight Commander’s prompt integration has been improved (#9540).
- A spurious error, noted when using fish in Google Drive directories under WSL 2, has been silenced (#9550).
- Using
read
infish_greeting
or similar functions will not trigger an infinite loop (#9564). - Compatibility when upgrading from old versions of fish (before 3.4.0) has been improved (#9569).
Improved prompts
- The git prompt will compute the stash count to be used independently of the informative status (#9572).
Completions
- Added completions for:
- Improvements to many completions, including the speed of completing directories in WSL 2 (#9574).
- Completions using
__fish_complete_suffix
are now offered in the correct order, fixing a regression in 3.6.0 (#8924). -
git
completions forgit-foo
-style commands was restored, fixing a regression in 3.6.0 (#9457). - File completion now offers
../
and./
again, fixing a regression in 3.6.0 (#9477). - The behaviour of completions using
__fish_complete_path
matches standard path completions (#9285).
Other improvements
- Improvements and corrections to the documentation.
For distributors
- fish 3.6.1 builds correctly on Cygwin (#9502).
Download links: To download the source code for fish, we suggest the file named "fish-3.6.1.tar.xz". The file downloaded from "Source code (tar.gz)" may not build correctly. The SHA-256 sum of this file is 55402bb47ca6739d8aba25e41780905b5ce1bce0a5e0dd17dca908b5bc0b49b2
. A GPG signature from David Adam (key ID 0x7A67D962D88A709A
) is available as "fish-3.6.1.tar.xz.asc".
1、 fish-3.6.1.app.zip 9.08MB
2、 fish-3.6.1.pkg 7.94MB
3、 fish-3.6.1.tar.xz 2.73MB
4、 fish-3.6.1.tar.xz.asc 833B