various improvements
This commit is contained in:
14
packaging/completion.bash
Executable file
14
packaging/completion.bash
Executable file
@ -0,0 +1,14 @@
|
||||
_cmp_get_domains()
|
||||
{
|
||||
for file in /etc/libvirt/qemu/*.xml; do
|
||||
nodir="${file##*/}"
|
||||
printf '%s\n' "${nodir//\.xml}"
|
||||
done
|
||||
}
|
||||
|
||||
_compute()
|
||||
{
|
||||
:
|
||||
}
|
||||
|
||||
complete -o filenames -F _compute compute
|
Reference in New Issue
Block a user