Changelog: fish_is_nth_token + fish_nth_token

See re-opened issue #8008 for discussion regarding the name of these functions -
this might need to be revisited pending a decision there.
This commit is contained in:
Mahmoud Al-Qudsi 2022-02-08 14:16:32 -06:00
parent 497cebab64
commit ddc4d8ba9b

View file

@ -179,7 +179,7 @@ Completions
- Many adjustments to complete correct options for system utilities on BSD and macOS.
- Unified the OpenZFS-related completions across operating systems and improved the vdev-related completions for all platforms.
- Add missing completions for the ``-p`` option of ``xbps-query``.
- The ``fish_is_nth_token`` function, which is particularly useful in completions for identifying the token number within the command line, replaces various internal functions to do the same (:issue:`8008`).
- The ``fish_is_nth_token`` and accompanying ``fish_nth_token`` functions, which are particularly useful in completions for identifying the token number within the command line and replace various internal functions to do the same (:issue:`8008`).
- When evaluating custom completions, the command line state no longer includes variable overrides (``var=val``). This unbreaks completions that read ``commandline -op``.
Improved terminal support