mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-01-09 20:33:34 -08:00
15 lines
383 B
Bash
15 lines
383 B
Bash
# Qt qdbus, dcop completion -*- shell-script -*-
|
|
|
|
_qdbus()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
[[ -n $cur ]] && unset "words[$((${#words[@]} - 1))]"
|
|
COMPREPLY=($(compgen -W '$(command ${words[@]} 2>/dev/null | \
|
|
command sed "s/(.*)//")' -- "$cur"))
|
|
} &&
|
|
complete -F _qdbus qdbus dcop
|
|
|
|
# ex: filetype=sh
|