MyGit

3.5.0

fish-shell/fish-shell

版本发布时间: 2022-06-16 19:30:49

fish-shell/fish-shell最新发布版本:3.7.1(2024-03-19 13:29:28)

Notable improvements and fixes

path filter -f /usr/share/man/** | path change-extension '' | path extension | path sort -u

Deprecations and removed features

To recap: fish used to support ^ to redirect stderr, so you could use commands like:

test "$foo" -gt 8 ^/dev/null

to ignore error messages. This made the ^ symbol require escaping and quoting, and was a bit of a weird shortcut considering 2> already worked, which is only one character longer.

So the above can simply become:

test "$foo" -gt 8 2>/dev/null

This only affects the replacement expression, not the match expression (the '([ab])' part in the example). A survey of plugins on GitHub did not turn up any affected code, so we do not expect this to affect many users.

This flag was introduced in fish 3.1. * ampersand-nobg-in-token, which means that & will not create a background job if it occurs in the middle of a word. For example, echo foo&bar will print “foo&bar” instead of running echo foo in the background and then starting bar as a second job.

Reformatting with fish_indent would already introduce spaces, turning echo foo&bar into echo foo & bar.

This flag was introduced in fish 3.4.

To turn off these flags, add no-regex-easyesc or no-ampersand-nobg-in-token to `fish_features`` and restart fish:

set -Ua fish_features no-regex-easyesc

Like stderr-nocaret, they will eventually be made read-only.

set -g fish_color_command blue
set -g fish_color_keyword

would previously make keywords “normal” (usually white in a dark terminal). Now it’ll make them blue. To achieve the previous behavior, use the normal color explicitly: set -g fish_color_keyword normal.

This makes it easier to make self-contained color schemes that don’t accidentally use color that was set before. fish_config has been adjusted to set known color variables that a theme doesn’t explicitly set to empty.

Scripting improvements

math 5 + 2_123_252
> math min 8,2,4
2

Interactive improvements

New or improved bindings

Improved prompts

Completions

Improved terminal support

For distributors

--

Download links: To download the source code for fish, we suggest the file named "fish-3.5.0.tar.xz". The file downloaded from "Source code (tar.gz)" will not build correctly. The SHA-256 sum of this file is 291e4ec7c6c3fea54dc1aed057ce3d42b356fa6f70865627b2c7dfcecaefd210. A GPG signature from David Adam (key ID 0x7A67D962D88A709A) is available as "fish-3.5.0.tar.xz.asc".

相关地址:原始地址 下载(tar) 下载(zip)

1、 fish-3.5.0.app.zip 8.67MB

2、 fish-3.5.0.pkg 7.6MB

3、 fish-3.5.0.tar.xz 3.17MB

4、 fish-3.5.0.tar.xz.asc 833B

查看:2022-06-16发行的版本