The git prompt in informative mode now defaults to skipping counting untracked files, as this was extremely slow. Fish will ignore autoload files for it, so left over eval.fish from previous fish versions won’t be loaded. This follows set and read, and is necessary because it can’t be cleanly shadowed by a function - at the very least eval set -l argv foo breaks. This makes it easier to make self-contained color schemes that don’t accidentally use color that was set before.įish_config has been adjusted to set known color variables that a theme doesn’t explicitly set to empty.Įval is now a reserved keyword, so it can’t be used as a function name. To achieve the previous behavior, use the normal color explicitly: set -g fish_color_keyword normal. Would previously make keywords “normal” (usually white in a dark terminal). Set -g fish_color_command blue set -g fish_color_keyword Now, empty color variables cause the same effect as unset variables - the general highlighting variable for that type is used instead. Previously, when a variable was set but empty, it would be interpreted as the “normal” color. The meaning of an empty color variable has changed ( #8793). #YEARS RUNONLY APPLESCRIPTS AVOID DETECTION FOR UPGRADE#Users who upgrade directly from fish versions 2.7.1 or before will have to set their universal variables & abbreviations again. We don’t expect anyone to have ever used fish with such a terminal ( #8769).Ĭode to upgrade universal variables from fish before 3.0 has been removed. This removes a bunch of work in the common case, allowing string length -visible to be much faster with unknown escape sequences. Most string subcommands no longer append a newline to their input if the input didn’t have one ( #8473, #3847)įish’s escape sequence removal (like for string length -visible or to figure out how wide the prompt is) no longer has special support for non-standard color sequences like from Data General terminals, e.g. Like stderr-nocaret, they will eventually be made read-only. To turn off these flags, add no-regex-easyesc or no-ampersand-nobg-in-token to fish_features` and restart fish: Reformatting with fish_indent would already introduce spaces, turning echo foo&bar into echo foo & bar. 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. This only affects the replacement expression, not the match expression (the '()' part in the example).Ī survey of plugins on GitHub did not turn up any affected code, so we do not expect this to affect many users.Īmpersand-nobg-in-token, which means that & will not create a background job if it occurs in the middle of a word. to escape any “a” or “b” in an argument you can use string replace -ra '()' '\$1' foobar instead of needing 8 backslashes. Regex-easyesc, which makes string replace -r not do a superfluous round of unescaping in the replacement expression. The following feature flags have been enabled by default: For example, to list all the separate extensions used on files in /usr/share/man (after removing one extension, commonly a “.gz”): Using special input functions in bindings, in combination with and/ or conditionals, no longer crashes ( #9051).įish 3.5.0 (released June 16, 2022) ¶ Notable improvements and fixes ¶Ī new path builtin command to filter and transform paths ( #7659, #8958). The job summary contained extra blank lines if the prompt used multiple lines, which is now fixed ( #9044). Status fish-path on Linux-based platforms could print the path with a “ (deleted)” suffix (such as /usr/bin/fish (deleted)), which is now removed ( #9019).Ĭancelling an initial command (from fish’s -init-command option) with Control- C no longer prevents configuration scripts from running ( #9024). On terminals that emit a CSI u sequence for Shift- Space, fish inserts a space instead of printing an error. This release also fixes a number of problems identified in fish 3.5.0.Ĭompleting git blame or git -C works correctly ( #9053). The error message when launching a command that is built for the wrong architecture on macOS is more helpful ( #9052). History merge when in private mode is now an error, rather than wiping out other sessions’ history ( #9050). Printf returns a better error when used with arguments interpreted as octal numbers ( #9035). This release of fish introduces the following small enhancements:Ĭursor shaping for Vi mode is enabled by default in tmux, and will be used if the outer terminal is capable ( #8981). Release notes ¶ fish 3.5.1 (released July 20, 2022) ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |