split rrdtool completion
This commit is contained in:
parent
1bfaacd1a0
commit
0b8a2cf7af
@ -72,6 +72,7 @@ bashcomp_DATA = contrib/ant \
|
|||||||
contrib/ri \
|
contrib/ri \
|
||||||
contrib/rpcdebug \
|
contrib/rpcdebug \
|
||||||
contrib/rpmcheck \
|
contrib/rpmcheck \
|
||||||
|
contrib/rrdtool \
|
||||||
contrib/rsync \
|
contrib/rsync \
|
||||||
contrib/samba \
|
contrib/samba \
|
||||||
contrib/sbcl \
|
contrib/sbcl \
|
||||||
|
@ -4944,16 +4944,6 @@ _invoke_rc_d()
|
|||||||
} &&
|
} &&
|
||||||
complete -F _invoke_rc_d invoke-rc.d
|
complete -F _invoke_rc_d invoke-rc.d
|
||||||
|
|
||||||
have rrdtool &&
|
|
||||||
_rrdtool ()
|
|
||||||
{
|
|
||||||
cur=`_get_cword`
|
|
||||||
COMPREPLY=( $( compgen -W 'create update updatev graph dump \
|
|
||||||
restore last lastupdate first info \
|
|
||||||
fetch tune resize xport' -- $cur ) )
|
|
||||||
} &&
|
|
||||||
complete -F _rrdtool rrdtool
|
|
||||||
|
|
||||||
_filedir_xspec()
|
_filedir_xspec()
|
||||||
{
|
{
|
||||||
local IFS cur xspec
|
local IFS cur xspec
|
||||||
|
14
contrib/rrdtool
Normal file
14
contrib/rrdtool
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
|
||||||
|
# ex: ts=8 sw=8 noet filetype=sh
|
||||||
|
#
|
||||||
|
# bash completion for rrdtool
|
||||||
|
|
||||||
|
have rrdtool &&
|
||||||
|
_rrdtool ()
|
||||||
|
{
|
||||||
|
cur=`_get_cword`
|
||||||
|
COMPREPLY=( $( compgen -W 'create update updatev graph dump \
|
||||||
|
restore last lastupdate first info \
|
||||||
|
fetch tune resize xport' -- $cur ) )
|
||||||
|
} &&
|
||||||
|
complete -F _rrdtool rrdtool
|
Loading…
x
Reference in New Issue
Block a user