diff options
Diffstat (limited to 'Completion/Linux/Command/_modutils')
-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 eefb11f2a..828926dfb 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -78,7 +78,7 @@ case "$state" in ;& all_modules) - modules=( ${${${${(f)"$(_call_program modules ${(M)words[1]##*/}modprobe -l 2>/dev/null)"}:#}##*/}%%.*} ) + modules=( /lib/modules/$(uname -r)/(*~source)/**/*(.:t:r) ) if [[ $state = loadable_modules ]]; then modules=( ${modules:#(${(j:|:)~${=loaded_modules//_/-}})} ) |