diff options
Diffstat (limited to 'extra/zsh/modules.patch')
-rw-r--r-- | extra/zsh/modules.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/zsh/modules.patch b/extra/zsh/modules.patch new file mode 100644 index 000000000..315d40b98 --- /dev/null +++ b/extra/zsh/modules.patch @@ -0,0 +1,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 + |