mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-01-09 20:33:34 -08:00
25 lines
512 B
Bash
25 lines
512 B
Bash
# bash completion for rpmcheck -*- shell-script -*-
|
|
|
|
_rpmcheck()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
case $prev in
|
|
-base)
|
|
_filedir
|
|
return
|
|
;;
|
|
esac
|
|
|
|
if [[ $cur == -* ]]; then
|
|
COMPREPLY=($(compgen -W '-explain -failures -successes -dump
|
|
-dump-all -base -help -compressed-input' -- "$cur"))
|
|
else
|
|
_filedir
|
|
fi
|
|
} &&
|
|
complete -F _rpmcheck rpmcheck
|
|
|
|
# ex: filetype=sh
|