mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
document that setenv
is now strict
When 2.6.0 was released some people reported that the third-party `rbenv` and `pyenv` commands were incorrectly depending on our `setenv` function not behaving exactly like the csh command of the same name. Specifically, our version had a bug. It allowed more than one value. It no longer does so after it was rewritten so that the three auto-split vars were correctly handled. See issue #4103
This commit is contained in:
parent
a520d97752
commit
238a49b6f0
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ If you are upgrading from version 2.5.0 or before, please also review the releas
|
||||||
- `read` will read up to 10 MiB by default, leaving the target variable empty and exiting with status 122 if the line is too long. You can set a different limit with the `FISH_READ_BYTE_LIMIT` variable.
|
- `read` will read up to 10 MiB by default, leaving the target variable empty and exiting with status 122 if the line is too long. You can set a different limit with the `FISH_READ_BYTE_LIMIT` variable.
|
||||||
- `read` supports a new `--silent` option to hide the characters typed (#838), for when reading sensitive data from the terminal. `read` also now accepts simple strings for the prompt (rather than scripts) with the new `-P` and `--prompt-str` options (#802).
|
- `read` supports a new `--silent` option to hide the characters typed (#838), for when reading sensitive data from the terminal. `read` also now accepts simple strings for the prompt (rather than scripts) with the new `-P` and `--prompt-str` options (#802).
|
||||||
- `export` and `setenv` now understand colon-separated `PATH`, `CDPATH` and `MANPATH` variables.
|
- `export` and `setenv` now understand colon-separated `PATH`, `CDPATH` and `MANPATH` variables.
|
||||||
|
- `setenv` is no longer a simple alias for `set -gx` and will complain, just like the csh version, if given more than one value (#4103).
|
||||||
- `bind` supports a new `--list-modes` option (#3872).
|
- `bind` supports a new `--list-modes` option (#3872).
|
||||||
- `bg` will check all of its arguments before backgrounding any jobs; any invalid arguments will cause a failure, but non-existent (eg recently exited) jobs are ignored (#3909).
|
- `bg` will check all of its arguments before backgrounding any jobs; any invalid arguments will cause a failure, but non-existent (eg recently exited) jobs are ignored (#3909).
|
||||||
- `funced` warns if the function being edited has not been modified (#3961).
|
- `funced` warns if the function being edited has not been modified (#3961).
|
||||||
|
|
Loading…
Reference in a new issue