[Libguestfs] [PATCH 1/1] guestfish: Tab-complete single / double quoted filenames containing space -- add fish_completion_word_break_characters_hook

Jan Lieskovsky jlieskov at redhat.com
Sun May 19 13:23:59 UTC 2013

This patch introduces fish_completion_word_break_characters_hook - Readline's
rl_completion_word_break_hook for guestfish so tab-completion on / for single /
double quoted filenames containing space would be possible too - this covers

  "In addition:
  ><fs> ls "/Program Files/<tab>
    doesn't show any files to complete."

from RH BZ#547488.

Thank you, Jan.
Jan iankko Lieskovsky

P.S.: Feel free to remove the comment lines, if you find them unnecessary.

P.S.#2: Have got a patch for completion of unquoted filenames containing space
        too already, but need to give it further testing => will submit in
        separated post later.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002_add_fish_completion_word_break_characters_hook.patch
Type: text/x-patch
Size: 2516 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20130519/82e6d0cc/attachment.bin>

More information about the Libguestfs mailing list