21 lines
444 B
Plaintext
Raw Normal View History

# Qt qdbus, dcop completion
2008-11-25 12:10:55 +01:00
_qdbus()
{
local cur prev words cword
_init_completion || return
[ -n "$cur" ] && unset words[${#words[@]}-1]
COMPREPLY=( $( compgen -W '$( command ${words[@]} 2>/dev/null | \
sed s/\(.*\)// )' -- "$cur" ) )
2008-11-25 12:10:55 +01:00
} &&
complete -F _qdbus qdbus dcop
# Local variables:
# mode: shell-script
2009-10-04 19:42:50 +02:00
# sh-basic-offset: 4
# sh-indent-comment: t
2009-10-04 19:42:50 +02:00
# indent-tabs-mode: nil
# End:
2009-10-04 19:42:50 +02:00
# ex: ts=4 sw=4 et filetype=sh