bash-completion/bash-completion-repomanage
Ville Skyttä ea0d49473c - 20080705; new upstream at http://bash-completion.alioth.debian.org/
- Perl, Debian, and scp patches applied upstream.
- Patch to improve man completion: more sections, better filename handling.
- Patch to speed up yum install/deplist completion (#478784).
- Patch to fix and speed up rpm installed packages completion.
- Update mock completion.
2009-01-06 18:44:43 +00:00

25 lines
516 B
Bash

# bash completion for repomanage -*- sh -*-
_repomanage()
{
local cur prev
COMPREPLY=()
cur=`_get_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