diff options
author | clutton <clutton@zoho.com> | 2014-11-09 21:59:16 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2014-11-09 21:59:16 +0100 |
commit | d6252ce0111b848d74407ff9c1fcc6afc529ecbf (patch) | |
tree | 001a94bf71c779c65784fb41a0b31f13d0ee09a2 /Completion/BSD/Command/_kld | |
parent | 31df6c4d32da203f9eaf96a6b3a28918a7a48978 (diff) | |
download | zsh-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/Command/_kld')
-rw-r--r-- | Completion/BSD/Command/_kld | 2 |
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 |