D7net Mini Sh3LL v1
Current File : //libx32/../share/snapd/../locale/hu/../br/../pt_PT/../gv/../../bash-completion/completions/kldload |
# FreeBSD kldload completion -*- shell-script -*-
[[ $OSTYPE == *freebsd* ]] || return 1
_kldload()
{
local cur prev words cword
_init_completion || return
local moddir=/modules/
[[ -d $moddir ]] || moddir=/boot/kernel/
compopt -o filenames
COMPREPLY=( $(compgen -f "$moddir$cur") )
COMPREPLY=( ${COMPREPLY[@]#$moddir} )
COMPREPLY=( ${COMPREPLY[@]%.ko} )
} &&
complete -F _kldload kldload
# ex: filetype=sh
AnonSec - 2021 | Recode By D7net