about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
authorEric Cook <illua@users.sourceforge.net>2021-07-19 02:16:35 -0400
committerEric Cook <illua@users.sourceforge.net>2021-07-19 02:16:35 -0400
commitd9e5ef02040d846a7b1ea1f7283f57152859bd6c (patch)
treef0a572300f402782b725528f847bd4b4356f98e9 /Completion/Linux
parent9b3a2924101c4e17dbb9c0b8745dc4eb9cdca910 (diff)
downloadzsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar.gz
zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar.xz
zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.zip
49147: fix completion of linux kernel modules
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/Command/_modutils2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils
index c62c6e7b6..1205f2506 100644
--- a/Completion/Linux/Command/_modutils
+++ b/Completion/Linux/Command/_modutils
@@ -132,7 +132,7 @@ _modutils() {
 	_store_cache modules-$kver modules modaliases
       fi
 
-      if (( ${+opt_args[(k)(-R|--resolve-alias)]} )); then
+      if [[ -v opt_args[(i)(-R|--resolve-alias)] ]]; then
 	_tags module-aliases
       else
 	_tags files modules module-aliases