env: trigger locale updates if LOCPATH changes

Closes #5815.
This commit is contained in:
David Adam 2019-04-13 21:58:02 +08:00
parent 47b9907113
commit 56125f73e4
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@ shares the same argument scope as `eval` rather than being executed in a new sco
- The `path_helper` on macOS now only runs in login shells, matching the bash implementation.
- The `forward-bigword` binding now interacts correctly with autosuggestions (#5336)
- Fish now tries to guess if the system supports Unicode 9 (and displays emoji as wide), hopefully making setting $fish_emoji_width superfluous in most cases (#5722).
- The locale is now reloaded when the `LOCPATH` variable is changed (#5815).
- Lots of improvements to completions.
- Added completions for
- `cf`

View file

@ -76,7 +76,7 @@ static const wcstring_list_t locale_variables({L"LANG", L"LANGUAGE", L"LC_ALL",
L"LC_COLLATE", L"LC_CTYPE", L"LC_IDENTIFICATION",
L"LC_MEASUREMENT", L"LC_MESSAGES", L"LC_MONETARY",
L"LC_NAME", L"LC_NUMERIC", L"LC_PAPER",
L"LC_TELEPHONE", L"LC_TIME"});
L"LC_TELEPHONE", L"LC_TIME", L"LOCPATH"});
/// List of all curses environment variable names that might trigger (re)initializing the curses
/// subsystem.