Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] completion libvirt: edit action is always allowed



> 2023/08/21 19:13, sergio <sergio@xxxxxxxxxxxxx> wrote:
> 
> Why this still has not been merged?

Sorry, I guess everyone here has thought that someone else
would take care of it.

> 2023/06/09 17:5, sergio <sergio@xxxxxxxxxxxxx> wrote:
> 
> libvirt allows to edit virtrual host in any state

> -  edit " "
> +  edit --all

I'm not familiar with virsh, but if --all is the correct option
to use then we can just remove dom_opts[edit] since the array
is used as ${dom_opts[$cmd]:-"--all"}.


diff --git a/Completion/Unix/Command/_libvirt b/Completion/Unix/Command/_libvirt
index a3ab5a68a..bd605b9c9 100644
--- a/Completion/Unix/Command/_libvirt
+++ b/Completion/Unix/Command/_libvirt
@@ -20,7 +20,6 @@ typeset -A dom_opts
 dom_opts=(
   console " "
   destroy " "
-  edit " "
   managedsave " "
   reboot " "
   reset " "






Messages sorted by: Reverse Date, Date, Thread, Author