add xz compression extension for kernel modules
This commit is contained in:
parent
f990d5e617
commit
67d30da6b7
@ -1144,7 +1144,7 @@ _modules()
|
||||
local modpath
|
||||
modpath=/lib/modules/$1
|
||||
COMPREPLY=( $( compgen -W "$( command ls -RL $modpath 2>/dev/null | \
|
||||
sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.gz\)\{0,1\}$/\1/p' )" -- "$cur" ) )
|
||||
sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\)\{0,1\}$/\1/p' )" -- "$cur" ) )
|
||||
}
|
||||
|
||||
# This function completes on installed modules
|
||||
|
Loading…
x
Reference in New Issue
Block a user