summaryrefslogtreecommitdiff
path: root/etc/completions/_modprobe
blob: 50fc066dd1c64daf4a14f4520096b3e9584ca154 (plain)
1
2
3
4
5
6
7
#compdef modprobe
typeset expl
_wanted module expl module \
compadd $(
	find /lib/modules/$(uname -r) -type f -name '*.ko' -printf '%f\n' |
	sed 's/\.ko$//'
)