about summary refs log tree commit diff
path: root/Completion/BSD
diff options
context:
space:
mode:
authorclutton <clutton@zoho.com>2014-11-09 21:59:16 +0100
committerOliver Kiddle <opk@zsh.org>2014-11-09 21:59:16 +0100
commitd6252ce0111b848d74407ff9c1fcc6afc529ecbf (patch)
tree001a94bf71c779c65784fb41a0b31f13d0ee09a2 /Completion/BSD
parent31df6c4d32da203f9eaf96a6b3a28918a7a48978 (diff)
downloadzsh-d6252ce0111b848d74407ff9c1fcc6afc529ecbf.tar.gz
zsh-d6252ce0111b848d74407ff9c1fcc6afc529ecbf.tar.xz
zsh-d6252ce0111b848d74407ff9c1fcc6afc529ecbf.zip
33640: look in /boot/modules instead of /modules for third-party modules
Diffstat (limited to 'Completion/BSD')
-rw-r--r--Completion/BSD/Command/_kld2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/BSD/Command/_kld b/Completion/BSD/Command/_kld
index b967f33c4..34f26f1e9 100644
--- a/Completion/BSD/Command/_kld
+++ b/Completion/BSD/Command/_kld
@@ -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