Skip to content
zsh autocompletion for virsh from libvirt
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information. Improve readme, update "tested with" Apr 30, 2015
_virsh Complete dynamic rewrite, using _arguments Apr 30, 2015


This is a zsh autocompletion file for libvirt's virsh command.

Working for libvirt >= version 0.9, tested with libvirt 1.2.12 on Ubuntu


cp _virsh /usr/share/zsh/functions/Completion/Linux

Actually, any path in your $fpath would work, so if you like that better, use /usr/local/share/zsh/site-functions for example.

After copying, restart your shell.

You can’t perform that action at this time.