summary refs log tree commit diff
path: root/Completion/Linux/Command
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 /Completion/Linux/Command
parent65f7cbeaed28ff4287bf49627985ae11d4f78d15 (diff)
downloadzsh-9dc573c260d1a413e9c0c1a02464f835772d0416.tar.gz
zsh-9dc573c260d1a413e9c0c1a02464f835772d0416.tar.xz
zsh-9dc573c260d1a413e9c0c1a02464f835772d0416.zip
Michel Dos Reis: 29482: handle .gz kernel modules
Diffstat (limited to 'Completion/Linux/Command')
-rw-r--r--Completion/Linux/Command/_modutils2
1 files changed, 1 insertions, 1 deletions
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