File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ _insmod()
7
7
8
8
# do filename completion for first argument
9
9
if (( cword == 1 )) ; then
10
- _filedir ' @(?(k)o?(.[gx]z))'
10
+ _filedir ' @(?(k)o?(.[gx]z|.zst ))'
11
11
else # do module parameter completion
12
12
COMPREPLY=($( compgen -W " $( PATH=" $PATH :/sbin" modinfo \
13
13
-p ${words[1]} 2> /dev/null | cut -d: -f1) " -- " $cur " ) )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ _modinfo()
43
43
44
44
# do filename completion if we're giving a path to a module
45
45
if [[ $cur == @ (* /| [.~])* ]]; then
46
- _filedir ' @(?(k)o?(.[gx]z))'
46
+ _filedir ' @(?(k)o?(.[gx]z|.zst ))'
47
47
else
48
48
_modules $version
49
49
fi
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ _modprobe()
80
80
insert)
81
81
# do filename completion if we're giving a path to a module
82
82
if [[ $cur == @ (* /| [.~])* ]]; then
83
- _filedir ' @(?(k)o?(.[gx]z))'
83
+ _filedir ' @(?(k)o?(.[gx]z|.zst ))'
84
84
elif [[ -n $module ]]; then
85
85
# do module parameter completion
86
86
if [[ $cur == * = * ]]; then
You can’t perform that action at this time.
0 commit comments