From ff042bbb7bd602c608c72f3537ffa488c535ea1a Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 19 Oct 2018 17:13:13 -0700 Subject: [PATCH] Relnote %self --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ead29b546..8bea64d56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ fish 3.0 is a major release which brings with it both improvements in functional - `?` as a glob is deprecated and will be removed in the future. (#4520). This is controlled by the `qmark-noglob` feature flag. ## Notable non-backward compatible changes -- `%` is no longer used for process and job expansion. `$fish_pid` and `$last_pid` have taken the place of `%self` and `%last` respectively. Some commands have been wrapped to still understand process expansion, including `bg`, `fg` and `kill` (#4230, #1202) +- `%` is no longer used for process and job expansion, except for `%self` which is retained. Some commands have been wrapped to still understand process expansion, including `bg`, `fg` and `kill` (#4230, #1202) - A literal `{}` now expands to itself, rather than nothing. This makes working with `find -exec` easier. (#1109, #4632) - Successive commas in brace expansions are handled in less surprising manner (`{,,,}` expands to four empty strings rather than an empty string, a comma and an empty string again). (#3002, #4632). - `for` loop control variables are no longer local to the `for` block (#1935). @@ -40,6 +40,7 @@ fish 3.0 is a major release which brings with it both improvements in functional - The machine hostname, where available, is now exposed as `$hostname` which is now a reserved variable. This drops the dependency on the `hostname` executable (#4422). - The universal variables file no longer contains the MAC address. It is now at the fixed location `.config/fish/fish_universal_variables` (#1912). - Bare `bind` invocations in config.fish now work. The `fish_user_key_bindings` function is no longer necessary, but will still be executed if it exists (#5191). +- `$fish_pid` and `$last_pid` are available as an alternatives to `%self` and `%last`. ### New features in builtins - `alias` now has a `-s` and `--save` option to save the function generated by the alias using `funcsave` (#4878).