various improvements

This commit is contained in:
ge
2023-11-11 02:28:46 +03:00
parent 0d2a18d1f3
commit bd4e575a7c
23 changed files with 453 additions and 37 deletions

14
packaging/completion.bash Executable file
View 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