1
_have ubuntu-app-list-pids &&
2
_have ubuntu-app-launch-appids &&
3
_ubuntu_app_list_pids()
5
local cur=${COMP_WORDS[COMP_CWORD]}
6
COMPREPLY=($(compgen -W "`ubuntu-app-launch-appids`" -- $cur))
8
complete -F _ubuntu_app_list_pids -o default ubuntu-app-list-pids