about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-06-18 19:24:41 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-06-18 19:24:41 +0000
commit9dc573c260d1a413e9c0c1a02464f835772d0416 (patch)
tree5755a0dd9b704cfce1d348a71a103cc8a3e6aa78
parent65f7cbeaed28ff4287bf49627985ae11d4f78d15 (diff)
downloadzsh-9dc573c260d1a413e9c0c1a02464f835772d0416.tar.gz
zsh-9dc573c260d1a413e9c0c1a02464f835772d0416.tar.xz
zsh-9dc573c260d1a413e9c0c1a02464f835772d0416.zip
Michel Dos Reis: 29482: handle .gz kernel modules
-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