Merge branch 'fix/gsettings-completion-nounset-choices' into 'main'

completion: fix error on nounset mode unknown completions

See merge request GNOME/glib!4907
This commit is contained in:
Philip Withnall
2025-11-17 12:47:19 +00:00

View File

@@ -109,7 +109,7 @@ __gsettings() {
local IFS=$'\n'
# shellcheck disable=SC2207
COMPREPLY=($(compgen -W "${choices}" -- "${COMP_WORDS[${COMP_CWORD}]}"))
COMPREPLY=($(compgen -W "${choices-}" -- "${COMP_WORDS[${COMP_CWORD}]}"))
}
####################################################################################################