mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
github #94: Support .zst kernel modules with modutils
This commit is contained in:
parent
c1f1bbc5b9
commit
dd2c882ae1
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2022-05-25 Norbert Lange <nolange79@gmail.com>
|
||||
|
||||
* github #94: Completion/Linux/Command/_modutils: Support .zst
|
||||
kernel modules with modutils.
|
||||
|
||||
* github #93: Completion/Linux/Command/_btrfs,
|
||||
Completion/Linux/Command/_fusermount,
|
||||
Completion/Unix/Type/_umountable: Replace /etc/mtab with
|
||||
|
|
|
@ -127,7 +127,7 @@ _modutils() {
|
|||
fi
|
||||
if _cache_invalid modules-$kver || ! _retrieve_cache modules-$kver;
|
||||
then
|
||||
modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz|ko.xz)(.:t:r:r) )
|
||||
modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz|ko.xz|ko.zst)(.:t:r:r) )
|
||||
modaliases=( ${${${(M)${(f)"$(<$modules_dir/$kver/modules.alias)"}:#alias*}#alias }%% *} )
|
||||
_store_cache modules-$kver modules modaliases
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue