about summary refs log tree commit diff
path: root/Completion/BSD/Command/_kld
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/BSD/Command/_kld')
-rw-r--r--Completion/BSD/Command/_kld4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/BSD/Command/_kld b/Completion/BSD/Command/_kld
index dd71f7a58..b967f33c4 100644
--- a/Completion/BSD/Command/_kld
+++ b/Completion/BSD/Command/_kld
@@ -4,8 +4,8 @@
 _kld_module() {
   local ret=1
 
-  compadd "$@" - /boot/kernel/*.ko(:t) /modules/*.ko(:t) && ret=0
-  _files "$@" -g \*.ko && ret=0
+  compadd "$@" - /boot/kernel/*.ko(-.:t) /modules/*.ko(-.:t) && ret=0
+  _files "$@" -g '*.ko(-.)' && ret=0
 
   return ret
 }