completion: Add missing quoting

As suggested by shellcheck.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall
2024-04-16 13:58:49 +01:00
parent aaf715a046
commit c79575362e
3 changed files with 14 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ __gdbus() {
local IFS=$'\n'
local cur="$(_get_cword :)"
local suggestions=$(gdbus complete "${COMP_LINE}" ${COMP_POINT})
local suggestions="$(gdbus complete "${COMP_LINE}" "${COMP_POINT}")"
COMPREPLY=($(compgen -W "$suggestions" -- "$cur"))
# Remove colon-word prefix from COMPREPLY items