[Bash-completion-commits] [bash-completion] 01/03: qemu: Apply completion to qemu-kvm/-system-i386/-system-x86_64 too

Ville Skyttä scop-guest at moszumanska.debian.org
Sun Apr 6 10:16:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit 61ad655fc4a6c18947ce6f17d4ea8f87abd6c945
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Apr 6 10:45:26 2014 +0300

    qemu: Apply completion to qemu-kvm/-system-i386/-system-x86_64 too
---
 completions/.gitignore  | 3 +++
 completions/Makefile.am | 7 +++++++
 completions/qemu        | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/completions/.gitignore b/completions/.gitignore
index d13d6ea..0b9cd5e 100644
--- a/completions/.gitignore
+++ b/completions/.gitignore
@@ -134,6 +134,9 @@ pxz
 pydoc3
 python2
 python3
+qemu-kvm
+qemu-system-i386
+qemu-system-x86_64
 quotacheck
 quotaoff
 quotaon
diff --git a/completions/Makefile.am b/completions/Makefile.am
index c70abc4..b6fe5b3 100644
--- a/completions/Makefile.am
+++ b/completions/Makefile.am
@@ -548,6 +548,9 @@ CLEANFILES = \
 	pydoc3 \
 	python2 \
 	python3 \
+	qemu-kvm \
+	qemu-system-i386 \
+	qemu-system-x86_64 \
 	quotacheck \
 	quotaoff \
 	quotaon \
@@ -848,6 +851,10 @@ symlinks: $(targetdir) $(DATA)
 		rm -f $(targetdir)/$$file && \
 			$(LN_S) qdbus $(targetdir)/$$file ; \
 	done
+	for file in qemu-kvm qemu-system-i386 qemu-system-x86_64 ; do \
+		rm -f $(targetdir)/$$file && \
+			$(LN_S) qemu $(targetdir)/$$file ; \
+	done
 	for file in setquota edquota quotacheck repquota quotaon quotaoff ; do \
 		rm -f $(targetdir)/$$file && \
 			$(LN_S) quota $(targetdir)/$$file ; \
diff --git a/completions/qemu b/completions/qemu
index 3899715..297e804 100644
--- a/completions/qemu
+++ b/completions/qemu
@@ -105,6 +105,6 @@ _qemu()
         _filedir
     fi
 } &&
-complete -F _qemu qemu
+complete -F _qemu qemu qemu-kvm qemu-system-i386 qemu-system-x86_64
 
 # ex: ts=4 sw=4 et filetype=sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list