bash-completion/qdbus-qt5.patch
Dr. Werner Fink fea565470a Accepting request 784589 from home:favogt:branches:shells
- Add patch to also complete qdbus-qt5:
  * qdbus-qt5.patch

- Remove _adb as it seems to be broken anyway (boo#1161136) 

- Add patch to also complete qdbus-qt5:
  * qdbus-qt5.patch

OBS-URL: https://build.opensuse.org/request/show/784589
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=106
2020-03-20 08:07:26 +00:00

18 lines
582 B
Diff

From: Fabian Vogt <fvogt@suse.de>
Subject: Add completion for qdbus-qt5
qdbus is the Qt 4 variant, also complete for the Qt 5 version.
Index: bash-completion-2.10/completions/qdbus
===================================================================
--- bash-completion-2.10.orig/completions/qdbus
+++ bash-completion-2.10/completions/qdbus
@@ -9,6 +9,6 @@ _qdbus()
COMPREPLY=( $(compgen -W '$(command ${words[@]} 2>/dev/null | \
command sed "s/(.*)//")' -- "$cur") )
} &&
-complete -F _qdbus qdbus dcop
+complete -F _qdbus qdbus qdbus-qt5 dcop
# ex: filetype=sh