File Manager

Current Path : /snap/core20/current/usr/share/bash-completion/completions/
Upload File :
Current File : //snap/core20/current/usr/share/bash-completion/completions/qdbus

# 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

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com