CHANGELOG fish_greeting

[ci skip]
This commit is contained in:
Fabian Homborg 2020-08-21 20:44:06 +02:00
parent 923f6174ab
commit c148b6eff1

View File

@ -93,6 +93,7 @@ Interactive improvements
- ``fish_key_reader`` sets the exit status to 0 when used with ``--help`` or ``--version`` (#6964). - ``fish_key_reader`` sets the exit status to 0 when used with ``--help`` or ``--version`` (#6964).
- ``fish_key_reader`` and ``fish_indent`` send output from ``--version`` to standard output, matching other fish binaries (#6964). - ``fish_key_reader`` and ``fish_indent`` send output from ``--version`` to standard output, matching other fish binaries (#6964).
- A new variable ``$status_generation`` is incremented only when the previous command produces a status. This can be used, for example, to check whether a failure status is a holdover due to a background job, or actually produced by the last run command. - A new variable ``$status_generation`` is incremented only when the previous command produces a status. This can be used, for example, to check whether a failure status is a holdover due to a background job, or actually produced by the last run command.
- ``fish_greeting`` is now a function that reads a variable of the same name, and defaults to setting it globally. This removes a universal variable by default and helps with updating the greeting. However, to disable the greeting it is now necessary to explicitly specify universal scope (``set -U fish_greeting``) or to disable it in config.fish (#7265).
New or improved bindings New or improved bindings