qemu: Apply completion to qemu-kvm/-system-i386/-system-x86_64 too

This commit is contained in:
Ville Skyttä 2014-04-06 10:45:26 +03:00
parent b758afc105
commit 61ad655fc4
3 changed files with 11 additions and 1 deletions

View File

@ -134,6 +134,9 @@ pxz
pydoc3 pydoc3
python2 python2
python3 python3
qemu-kvm
qemu-system-i386
qemu-system-x86_64
quotacheck quotacheck
quotaoff quotaoff
quotaon quotaon

View File

@ -548,6 +548,9 @@ CLEANFILES = \
pydoc3 \ pydoc3 \
python2 \ python2 \
python3 \ python3 \
qemu-kvm \
qemu-system-i386 \
qemu-system-x86_64 \
quotacheck \ quotacheck \
quotaoff \ quotaoff \
quotaon \ quotaon \
@ -848,6 +851,10 @@ symlinks: $(targetdir) $(DATA)
rm -f $(targetdir)/$$file && \ rm -f $(targetdir)/$$file && \
$(LN_S) qdbus $(targetdir)/$$file ; \ $(LN_S) qdbus $(targetdir)/$$file ; \
done 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 \ for file in setquota edquota quotacheck repquota quotaon quotaoff ; do \
rm -f $(targetdir)/$$file && \ rm -f $(targetdir)/$$file && \
$(LN_S) quota $(targetdir)/$$file ; \ $(LN_S) quota $(targetdir)/$$file ; \

View File

@ -105,6 +105,6 @@ _qemu()
_filedir _filedir
fi 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 # ex: ts=4 sw=4 et filetype=sh