blob: 3a7c5ad15f107a5bdf0d561690017e8f12d1ee78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# bash completion for repomanage -*- shell-script -*-
# Use of this file is deprecated. Upstream completion is available in
# yum-utils >= 1.1.24, use that instead.
_comp_cmd_repomanage()
{
local cur prev words cword was_split comp_args
_comp_initialize -s -- "$@" || return
[[ $prev == -@([hk]|-help|-keep) ]] && return
[[ $was_split ]] && return
if [[ $cur == -* ]]; then
_comp_compgen_help
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
else
_comp_compgen_filedir -d
fi
} &&
complete -F _comp_cmd_repomanage repomanage
# ex: filetype=sh
|