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 /Completion/Linux | |
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
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 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 |