bash-completion/qdbus-qt5.patch

60 lines
1.8 KiB
Diff
Raw Normal View History

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
Index: bash-completion-2.10/completions/Makefile.in
===================================================================
--- bash-completion-2.10.orig/completions/Makefile.in
+++ bash-completion-2.10/completions/Makefile.in
@@ -892,6 +892,7 @@ CLEANFILES = \
pyvenv-3.6 \
pyvenv-3.7 \
pyvenv-3.8 \
+ qdbus-qt5 \
qemu-kvm \
qemu-system-i386 \
qemu-system-x86_64 \
@@ -1324,7 +1325,7 @@ symlinks: $(DATA)
$(ss) pyvenv \
pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8
$(ss) qdbus \
- dcop
+ dcop qdbus-qt5
$(ss) qemu \
qemu-kvm qemu-system-i386 qemu-system-x86_64
$(ss) quota \
Index: bash-completion-2.10/completions/Makefile.am
===================================================================
--- bash-completion-2.10.orig/completions/Makefile.am
+++ bash-completion-2.10/completions/Makefile.am
@@ -668,6 +668,7 @@ CLEANFILES = \
pyvenv-3.6 \
pyvenv-3.7 \
pyvenv-3.8 \
+ qdbus-qt5 \
qemu-kvm \
qemu-system-i386 \
qemu-system-x86_64 \
@@ -882,7 +883,7 @@ symlinks: $(DATA)
$(ss) pyvenv \
pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8
$(ss) qdbus \
- dcop
+ dcop qdbus-qt5
$(ss) qemu \
qemu-kvm qemu-system-i386 qemu-system-x86_64
$(ss) quota \