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(-)
--
2.26.2