git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5a897
)
fish: Show device mapper device in tab completion (RHBZ#688062).
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 12 Jul 2011 12:31:42 +0000
(13:31 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 12 Jul 2011 17:44:45 +0000
(18:44 +0100)
With this change:
><fs> luks-open /dev/vda1 lukstest
Enter key or passphrase ("key"):
><fs> ll /dev/<TAB>
/dev/mapper/lukstest /dev/vda /dev/vda1
fish/destpaths.c
patch
|
blob
|
history
diff --git
a/fish/destpaths.c
b/fish/destpaths.c
index
5ed93ec
..
3c90517
100644
(file)
--- 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] == '/') {