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:
parent
f297132cf0
commit
aa7b62e3fa
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue