about summary refs log tree commit diff
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
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
-rw-r--r--ChangeLog3
-rw-r--r--Completion/BSD/Command/_kld2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 85da0efbd..cfe980902 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
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