[Bug 457163] Re: virsh lacks bash completion
Christian Ehrhardt
457163 at bugs.launchpad.net
Wed Sep 5 13:55:05 UTC 2018
Upstream actually has completion, and we ship it since cosmic IIRC.
>From the build:
checking for BASH_COMPLETION... yes
checking for bash-completions directory... /usr/share/bash-completion/completions
configure: bash_completion: yes (CFLAGS='' LIBS='')
/usr/bin/install -c ../../../tools/bash-completion/vsh \
"/<<PKGBUILDDIR>>/debian/tmp/usr/share/bash-completion/completions/vsh"
( cd /<<PKGBUILDDIR>>/debian/tmp/usr/share/bash-completion/completions && \
rm -f virsh virt-admin && \
ln -s vsh virsh && \
ln -s vsh virt-admin )
Since
libvirt (4.5.0-1) unstable; urgency=medium
* [882c646] Install bash completion (Closes: #902450)
That said in Cosmic I have it all working as intented:
ubuntu at c:~$ virsh l
list lxc-enter-namespace
ubuntu at c:~$ virsh list --
--all --managed-save --persistent --state-running --title --with-managed-save --without-snapshot
--autostart --name --state-other --state-shutoff --transient --with-snapshot
--inactive --no-autostart --state-paused --table --uuid --without-managed-save
ubuntu at c:~$ virsh list --a
--all --autostart
** Changed in: libvirt (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/457163
Title:
virsh lacks bash completion
Status in libvirt:
Confirmed
Status in bash-completion package in Ubuntu:
Invalid
Status in libvirt package in Ubuntu:
Fix Released
Bug description:
As written in summary
ProblemType: Bug
Architecture: i386
Date: Wed Oct 21 14:56:45 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: fglrx
Package: libvirt-bin 0.7.0-1ubuntu12
ProcEnviron:
LANGUAGE=pl_PL:pl:en_GB:en
PATH=(custom, no user)
LANG=pl_PL.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
SourcePackage: libvirt
Uname: Linux 2.6.31-13-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/libvirt/+bug/457163/+subscriptions
More information about the foundations-bugs
mailing list