fish-shell/share
Johannes Altmanninger ae7b401029 completions/set: show innermost scope in variable description
A side effect of cd9e50c2c (completions/set: Complete variables of all scopes
when setting, 2024-10-03) is that

    HOME=$(mktemp -d) fish
    fish_config choose ayu\ Light
    set -S fish_color_

gives only completions that have the "Universal variable" description even
though most colors are also defined in the global scope which usually takes
precedence.

Fix this by reordering the completions. (The last-added completion is shown
first which is very surprising, we should change that).

This is not perfect; if the user has already specified `-U`, then we should
probably not show description of the global version.  But that's still
worth the trade that this commit makes.  Finally, the description could show
something like "Defined in universal and global scope" etc.
2024-10-20 07:55:04 +02:00
..
completions completions/set: show innermost scope in variable description 2024-10-20 07:55:04 +02:00
functions default color scheme: Make commands "normal" color 2024-10-15 21:21:30 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools default color scheme: Make commands "normal" color 2024-10-15 21:21:30 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Move generated completions to cache directory 2024-04-27 10:39:30 +02:00