diff options
| author | Eric Cook <illua@users.sourceforge.net> | 2021-07-19 02:16:35 -0400 |
|---|---|---|
| committer | Eric Cook <illua@users.sourceforge.net> | 2021-07-19 02:16:35 -0400 |
| commit | d9e5ef02040d846a7b1ea1f7283f57152859bd6c (patch) | |
| tree | f0a572300f402782b725528f847bd4b4356f98e9 /Completion/Linux | |
| parent | 49166: fix coredump in ${name:offset:length} with ill-formatted length (diff) | |
| download | zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar.gz zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar.bz2 zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar.lz zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar.xz zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.tar.zst zsh-d9e5ef02040d846a7b1ea1f7283f57152859bd6c.zip | |
49147: fix completion of linux kernel modules
Diffstat (limited to 'Completion/Linux')
| -rw-r--r-- | Completion/Linux/Command/_modutils | 2 |
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 |
