From 4d4d3b2498be9dc8ab7e5f16928ac8f1874c2a58 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 12 Jul 2011 13:31:42 +0100 Subject: [PATCH] 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 --- fish/destpaths.c | 3 +++ 1 file changed, 3 insertions(+) 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] == '/') { -- 1.8.3.1