diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Linux/Command/_modutils | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 2c988b4c8..dd5012fbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-07-19 Eric Cook <llua@gmx.com> + + * 49147: Completion/Linux/Command/_modutils: fix the completion + linux kernel modules + 2021-07-19 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> * 49166: Src/subst.c, Test/D04parameter.ztst: fix coredump in 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 |