diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-13 18:42:03 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-13 18:42:03 +0000 |
commit | c3b929c6340834dacf7888a96ce505325c3a85af (patch) | |
tree | ad319c3c83e08e833942749755ead48a68756dc5 /Completion/Linux/Command | |
parent | be6e24fe1390cba9336a11f0d1d4dccda511e8bb (diff) | |
download | zsh-c3b929c6340834dacf7888a96ce505325c3a85af.tar.gz zsh-c3b929c6340834dacf7888a96ce505325c3a85af.tar.xz zsh-c3b929c6340834dacf7888a96ce505325c3a85af.zip |
19418: update completions to new versions
Diffstat (limited to 'Completion/Linux/Command')
-rw-r--r-- | Completion/Linux/Command/_modutils | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils index e3f33f8b5..2d3d71e43 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -67,8 +67,8 @@ case "$state" in ;; all_modules) - modules=( ${${(M)${(f)"$(_call_program modules ${(M)words[1]##*/}modprobe -c 2>/dev/null)"}:#path*}#*[=]} ) - _wanted modules expl module compadd ${^modules}/**/*.o(:t:r) && return + modules=( ${${${${(f)"$(_call_program modules ${(M)words[1]##*/}modprobe -l 2>/dev/null)"}:#}##*/}%.*} ) + _wanted modules expl module compadd -a modules && return ;; params) |