mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-25 02:10:57 +01:00
33640: look in /boot/modules instead of /modules for third-party modules
This commit is contained in:
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>
|
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
|
* 33643: Doc/Zsh/options.yo: elaborate documentation of
|
||||||
the PRIVILEGED option
|
the PRIVILEGED option
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
_kld_module() {
|
_kld_module() {
|
||||||
local ret=1
|
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
|
_files "$@" -g '*.ko(-.)' && ret=0
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue