Document `read -s/--silent and -S/--shell change

This commit is contained in:
Mahmoud Al-Qudsi 2018-03-09 11:53:19 -06:00
parent 86362e72fe
commit f8ec1e4a7b

View file

@ -3,11 +3,12 @@ This section is for changes merged to the `major` branch that are not also merge
## Deprecations
- The `IFS` variable is deprecated and will be removed in fish 4.0 (#4156).
- The `function --on-process-exit` event will be removed in future (#4700). Use the "fish_exit" event instead.
- The `function --on-process-exit` event will be removed in future (#4700). Use the `fish_exit` event instead.
## Notable non-backward compatible changes
- `.` command no longer exists -- use `source` (#4294).
- `read` now requires at least one var name (#4220).
- `read` now uses `-s` as short for `--silent` (à la `bash`); `--shell`'s abbreviation (formerly `-i`) is now `-S` instead (#4490).
- `set x[1] x[2] a b` is no longer valid syntax (#4236).
- For loop control variables are no longer local to the for block (#1935).
- A literal `{}` now expands to itself, rather than nothing. This makes working with `find -exec` easier. (#1109, #4632)
@ -19,7 +20,7 @@ This section is for changes merged to the `major` branch that are not also merge
- `read` has a new `--delimiter` option as a better alternative to the `IFS` variable (#4256).
- `set` has a new `--append` and `--prepend` option (#1326).
- `set` has a new `--show` option to show lots of information about variables (#4265).
- `complete` now has a `-k` and `--keep-order` option to keep the order of the OPTION_ARGUMENTS (#361).
- `complete` now has a `-k` and `--keep-order` option to keep the order of the `OPTION_ARGUMENTS` (#361).
- Local exported (`set -lx`) vars are now visible to functions (#1091).
- `abbr` has been reimplemented to be faster. This means the old `fish_user_abbreviations` variable is ignored (#4048).
- Setting variables is much faster (#4200, #4341).