3 [ -z "$BASH_VERSION" ] && return
5 ####################################################################################################
10 local cur
=`_get_cword :`
12 local suggestions
=$
(gdbus complete
"${COMP_LINE}" ${COMP_POINT})
13 COMPREPLY
=($
(compgen
-W "$suggestions" -- "$cur"))
15 # Remove colon-word prefix from COMPREPLY items
18 case "$COMP_WORDBREAKS" in
20 local colon_word
=${cur%${cur##*:}}
21 local i
=${#COMPREPLY[*]}
22 while [ $
((--i)) -ge 0 ]; do
23 COMPREPLY
[$i]=${COMPREPLY[$i]#"$colon_word"}
31 ####################################################################################################
33 complete
-o nospace
-F __gdbus gdbus