mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 09:23:28 +08:00
CHANGELOG set -q change
This commit is contained in:
parent
703a717660
commit
8767f873eb
|
@ -10,6 +10,7 @@ Deprecations and removed features
|
|||
---------------------------------
|
||||
- A new feature flag ``ampersand-nobg-in-token`` makes ``&`` only act as background operator if followed by a separator. In combination with ``qmark-noglob`` this allows to write some URLs without quoting or escaping (:issue:`7991`)
|
||||
- ``$status`` is now forbidden as a command, to prevent a surprisingly common error among new users: Running ``if $status`` (:issue:`8171`).
|
||||
- ``set --query`` now returns a falsy status of 255 if given no variable names. This means ``if set -q $foo`` will not enter the if-block if ``$foo`` is empty or unset. To restore the previous behavior you would use something like ``if not set -q foo; or set -q $foo``. We do not expect anyone to have used this on purpose, any places this happens are likely to be bugs (:issue:`8214`).
|
||||
|
||||
Scripting improvements
|
||||
----------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user