17 lines
373 B
Bash
17 lines
373 B
Bash
# yum-arch(8) completion -*- shell-script -*-
|
|
|
|
_yum_arch()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
if [[ "$cur" == -* ]] ; then
|
|
COMPREPLY=( $( compgen -W '-d -v -vv -n -c -z -s -l -q' -- "$cur" ) )
|
|
else
|
|
_filedir -d
|
|
fi
|
|
} &&
|
|
complete -F _yum_arch yum-arch
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|