1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-06 09:41:07 +01:00

gitlab !14 (fixup): modutils comp: Fix getting the value of kver from opt_args

This commit is contained in:
Doron Behar 2020-06-04 20:48:17 +03:00 committed by Daniel Shahaf
parent f297132cf0
commit aa7b62e3fa
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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