Skip to content

Commit

Permalink
qemu: Apply completion to qemu-kvm/-system-i386/-system-x86_64 too
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 6, 2014
1 parent b758afc commit 61ad655
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions completions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ pxz
pydoc3
python2
python3
qemu-kvm
qemu-system-i386
qemu-system-x86_64
quotacheck
quotaoff
quotaon
Expand Down
7 changes: 7 additions & 0 deletions completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,9 @@ CLEANFILES = \
pydoc3 \
python2 \
python3 \
qemu-kvm \
qemu-system-i386 \
qemu-system-x86_64 \
quotacheck \
quotaoff \
quotaon \
Expand Down Expand Up @@ -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 ; \
Expand Down
2 changes: 1 addition & 1 deletion completions/qemu
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 61ad655

Please sign in to comment.