Split autorpm completion to contrib/autorpm
This commit is contained in:
parent
81e48606d0
commit
f844abd042
1
CHANGES
1
CHANGES
@ -18,6 +18,7 @@ bash-completion (1.x)
|
||||
* Split dict completion to contrib/dict
|
||||
* Split {update,invoke}-rc.d completions to contrib/sysv-rc
|
||||
* Don't install _subversion anymore
|
||||
* Split autorpm completion to contrib/autorpm
|
||||
|
||||
[ Ville Skyttä ]
|
||||
* Split yum and yum-arch completion into contrib/yum.
|
||||
|
@ -5,6 +5,7 @@ bashcompdir = $(sysconfdir)/bash_completion.d
|
||||
bashcomp_DATA = contrib/ant \
|
||||
contrib/apache2ctl \
|
||||
contrib/aspell \
|
||||
contrib/autorpm \
|
||||
contrib/bind-utils \
|
||||
contrib/bitkeeper \
|
||||
contrib/bittorrent \
|
||||
|
@ -2420,23 +2420,6 @@ _jar()
|
||||
} &&
|
||||
complete -F _jar $filenames jar
|
||||
|
||||
# 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
|
||||
|
||||
# This meta-cd function observes the CDPATH variable, so that cd additionally
|
||||
# completes on directories under those specified in CDPATH.
|
||||
#
|
||||
|
16
contrib/autorpm
Normal file
16
contrib/autorpm
Normal file
@ -0,0 +1,16 @@
|
||||
# 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
|
Loading…
x
Reference in New Issue
Block a user