1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-15 13:34:18 +01:00

33640: look in /boot/modules instead of /modules for third-party modules

This commit is contained in:
clutton 2014-11-09 21:59:16 +01:00 committed by Oliver Kiddle
parent 31df6c4d32
commit d6252ce011
2 changed files with 4 additions and 1 deletions

@ -1,5 +1,8 @@
2014-11-09 Oliver Kiddle <opk@zsh.org>
* 33640: clutton: Completion/BSD/Command/_kld: look in
/boot/modules instead of /modules for third-party modules
* 33643: Doc/Zsh/options.yo: elaborate documentation of
the PRIVILEGED option

@ -4,7 +4,7 @@
_kld_module() {
local ret=1
compadd "$@" - /boot/kernel/*.ko(-.:t) /modules/*.ko(-.:t) && ret=0
compadd "$@" - /boot/{kernel,modules}/*.ko(-.:t) && ret=0
_files "$@" -g '*.ko(-.)' && ret=0
return ret