Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion/BSD/Command/_kld patch
- X-seq: zsh-workers 33640
- From: clutton <clutton@xxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Completion/BSD/Command/_kld patch
- Date: Sat, 08 Nov 2014 04:11:04 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:content-type:date:message-id:mime-version; b=RH7BE7gryatmXO2tnDSJaUrufFqMz2Yj5zV8jr3qCch/YpU36fZG73jtAGuNEvUAUxGwfPvz+CWi RYiyssd6sLsc3YZvF73rAsC46MqxZxpCDOrPmC6G5NRJ4dCFVTKv
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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.
--- 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author