diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Linux/Command/_modutils | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils index 879f64271..3ae76fec9 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -87,7 +87,7 @@ case "$state" in else kver=$(uname -r) fi - modules=( $modules_dir/$kver/(*~source)/**/*(.:t:r) ) + modules=( $modules_dir/$kver/(*~(source|build))/**/*(.:t:r) ) if [[ $state = loadable_modules ]]; then modules=( ${modules:#(${(j:|:)~${=loaded_modules//_/-}})} ) |