diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-06-04 20:48:17 +0300 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-06-08 06:23:05 +0000 |
commit | aa7b62e3faca1fe0e6d47d6706280ff67694cff5 (patch) | |
tree | b3c3da0e035e4efc514fccf0f274d276cb08b7f5 | |
parent | f297132cf0efe7da7c302a99e2fd9e44d1ddc64e (diff) | |
download | zsh-aa7b62e3faca1fe0e6d47d6706280ff67694cff5.tar.gz zsh-aa7b62e3faca1fe0e6d47d6706280ff67694cff5.tar.xz zsh-aa7b62e3faca1fe0e6d47d6706280ff67694cff5.zip |
gitlab !14 (fixup): modutils comp: Fix getting the value of kver from opt_args
-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 9a421e418..42060024b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-06-08 Doron Behar <doron.behar@gmail.com> + + * gitlab !14 (fixup): Completion/Linux/Command/_modutils: + modutils comp: Fix getting the value of kver from opt_args + 2020-06-07 Daniel Shahaf <d.s@daniel.shahaf.name> * 45932: Etc/FAQ.yo: FAQ (3.1): Update ksh compatibility answer diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils index 32cb49bd0..cada38a16 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -106,7 +106,7 @@ _modutils() { ;& all-modules) - local kver=${opt_args[(-S|-k|--set-version)]:-$(uname -r)} + local kver=${(v)opt_args[(i)(-S|-k|--set-version)]:-$(uname -r)} if _cache_invalid modules-$kver || ! _retrieve_cache modules-$kver; then |