[PATCH 0/9] Fix a slightly rework auto completion

Ján Tomko jtomko at redhat.com
Tue Jan 26 15:33:59 UTC 2021


On a Tuesday in 2021, Michal Privoznik wrote:
>These fixes were inspired by:
>
>https://gitlab.com/libvirt/libvirt/-/issues/116
>
>Michal Prívozník (9):
>  vshCommandStringGetArg: Drop @sz
>  vsh: Don't break word on backslash
>  vshReadlineParse: Bring some variables into !state block
>  vshReadlineParse: Use g_auto*()
>  vshReadlineParse: Rename @buf to @line
>  vshReadlineParse: Escape list of candidates earlier
>  vsh: Rework how option to complete is found
>  vsh: Allow double quotes imbalance for auto completion in
>    vshCommandStringGetArg()
>  tools: Set IFS for bash completion script
>
> tools/bash-completion/vsh |   2 +-
> tools/virsh.c             |   4 +-
> tools/virt-admin.c        |   4 +-
> tools/vsh.c               | 125 ++++++++++++++++++++++++--------------
> tools/vsh.h               |   5 +-
> 5 files changed, 88 insertions(+), 52 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210126/0dd9cdfc/attachment-0001.sig>


More information about the libvir-list mailing list