summaryrefslogtreecommitdiff
path: root/extra/zsh/modules.patch
blob: 315d40b9878321e06b7457bc5427c77e4c9e5203 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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