about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Linux/Command/_modutils2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bc3088535..2856fd5d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-18  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Michel Dos Reis: 29482: Completion/Linux/Command/_modutils:
+	handle .gz kernel modules.
+
 2011-06-16  Doug Kearns  <dougkearns@gmail.com>
 
 	* 29483: Completion/Unix/Command/_vim: add --servername completion.
@@ -15001,5 +15006,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5371 $
+* $Revision: 1.5372 $
 *****************************************************
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils
index b3f8fcd46..e2671f2a7 100644
--- a/Completion/Linux/Command/_modutils
+++ b/Completion/Linux/Command/_modutils
@@ -107,7 +107,7 @@ case "$state" in
       ! _retrieve_cache modules-$kver;
     then 
       # 2011-01-02 gi1242: Do we need .o files? Or is .ko enough?
-      modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko)(.:t:r) )
+      modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz)(.:t:r:r) )
       _store_cache modules-$kver modules
     fi