Bug 953360

Summary: RFE: Add bash auto completion to virsh
Product: [Community] Virtualization Tools Reporter: Alex Jia <ajia>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, cwei, dyuan, eblake, jdenemar, mzhan
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-18 18:20:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Jia 2013-04-18 03:55:28 UTC
Description of problem:
One of the nicest facilities of the modern shell is the built in "completion" support. These facilities allow you to complete commands and their arguments easily. As usual, users use <TAB> to auto completion bash arguments, if virsh supports auto arguments completion, it will be more convenient for users, so we
need more intelligent virsh auto-completion.

In fact, our developers and external contributors have given some try but not finished now, this bug help track it.

https://www.redhat.com/archives/libvir-list/2011-October/msg00141.html
https://www.redhat.com/archives/libvir-list/2013-January/msg00475.html


Version-Release number of selected component (if applicable):
libvirt-client-1.0.4-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. To use <TAB> to complete virsh arguments
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Eric Blake 2013-10-18 18:20:52 UTC

*** This bug has been marked as a duplicate of bug 579027 ***