2009-06-06 00:48:22 +03:00
|
|
|
# -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
|
|
|
|
# ex: ts=8 sw=8 noet filetype=sh
|
|
|
|
|
2009-06-05 08:32:07 +02:00
|
|
|
# autorpm(8) completion
|
|
|
|
#
|
|
|
|
have autorpm &&
|
|
|
|
_autorpm()
|
|
|
|
{
|
|
|
|
local cur
|
|
|
|
|
|
|
|
COMPREPLY=()
|
|
|
|
cur=`_get_cword`
|
|
|
|
|
|
|
|
COMPREPLY=( $( compgen -W '--notty --debug --help --version \
|
|
|
|
auto add fullinfo info help install list \
|
|
|
|
remove set' -- $cur ) )
|
|
|
|
|
|
|
|
} &&
|
|
|
|
complete -F _autorpm autorpm
|