192263e892
Sat Nov 26 2005 Ville Skyttä <ville.skytta at iki.fi> - Don't mark the main source file as %config. - Make profile.d snippet non-executable (#35714) and noreplace. - Add mock, plague-client and repomanage completion. - Allow "cvs stat" completion. - Macroize trigger creation.
25 lines
529 B
Bash
25 lines
529 B
Bash
# bash completion for repomanage -*- sh -*-
|
|
|
|
_repomanage()
|
|
{
|
|
local cur prev
|
|
|
|
COMPREPLY=()
|
|
cur=${COMP_WORDS[COMP_CWORD]}
|
|
prev=${COMP_WORDS[COMP_CWORD-1]}
|
|
|
|
case $prev in
|
|
-@(h|-help|k|-keep))
|
|
return 0
|
|
;;
|
|
esac
|
|
|
|
if [[ "$cur" == -* ]] ; then
|
|
COMPREPLY=( $( compgen -W '-o --old -n --new -s --space -k --keep \
|
|
-c --nocheck -h --help' -- $cur ) )
|
|
else
|
|
_filedir -d
|
|
fi
|
|
}
|
|
complete -F _repomanage repomanage
|