* Completion/BSD/Command/_kld patch
@ 2014-11-08 2:11 clutton
2014-11-08 20:32 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: clutton @ 2014-11-08 2:11 UTC (permalink / raw)
To: Zsh workers
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
FreeBSD uses /boot/modules for third party kernel modules, like nvidia
or virtualbox.
The patch adds this particular folder, but I'm not sure about
(Open/Net)BSD behaviour and folders structure.
[-- Attachment #2: patch-Completion-BSD-Command-_kld --]
[-- Type: text/x-patch, Size: 372 bytes --]
--- Completion/BSD/Command/_kld 2013-11-27 21:00:18.000000000 +0200
--- Completion/BSD/Command/_kld 2014-09-14 14:12:27.000000000 +0300
@@ -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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Completion/BSD/Command/_kld patch
2014-11-08 2:11 Completion/BSD/Command/_kld patch clutton
@ 2014-11-08 20:32 ` Bart Schaefer
2014-11-08 20:38 ` clutton
0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2014-11-08 20:32 UTC (permalink / raw)
To: clutton, Zsh workers
On Nov 8, 4:11am, clutton wrote:
}
} FreeBSD uses /boot/modules for third party kernel modules [...]
} The patch adds this particular folder [...]
More accurately the patch *replaces* /modules with /boot/modules -- is
that actually the desired effect?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Completion/BSD/Command/_kld patch
2014-11-08 20:32 ` Bart Schaefer
@ 2014-11-08 20:38 ` clutton
0 siblings, 0 replies; 3+ messages in thread
From: clutton @ 2014-11-08 20:38 UTC (permalink / raw)
To: zsh-workers
On Sat, 2014-11-08 at 12:32 -0800, Bart Schaefer wrote:
> On Nov 8, 4:11am, clutton wrote:
> }
> } FreeBSD uses /boot/modules for third party kernel modules [...]
> } The patch adds this particular folder [...]
>
> More accurately the patch *replaces* /modules with /boot/modules -- is
> that actually the desired effect?
Yes, it is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-08 20:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-08 2:11 Completion/BSD/Command/_kld patch clutton
2014-11-08 20:32 ` Bart Schaefer
2014-11-08 20:38 ` clutton
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).