From: Richard W.M. Jones Date: Tue, 12 Jul 2011 12:31:42 +0000 (+0100) Subject: fish: Show device mapper device in tab completion (RHBZ#688062). X-Git-Tag: 1.11.15~5 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4d4d3b2498be9dc8ab7e5f16928ac8f1874c2a58;p=libguestfs.git fish: Show device mapper device in tab completion (RHBZ#688062). With this change: > luks-open /dev/vda1 lukstest Enter key or passphrase ("key"): > ll /dev/ /dev/mapper/lukstest /dev/vda /dev/vda1 --- diff --git a/fish/destpaths.c b/fish/destpaths.c index 5ed93ec..3c90517 100644 --- a/fish/destpaths.c +++ b/fish/destpaths.c @@ -155,6 +155,9 @@ complete_dest_paths_generator (const char *text, int state) strs = guestfs_lvs (g); APPEND_STRS_AND_FREE; + + strs = guestfs_list_dm_devices (g); + APPEND_STRS_AND_FREE; } if (len < 1 || text[0] == '/') {