PageRenderTime 126ms CodeModel.GetById 124ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bash_completion.d/rrdtool

http://github.com/brinkman83/bashrc
#! | 18 lines | 16 code | 2 blank | 0 comment | 0 complexity | ddaae2007ae07dff3345de4349e46130 MD5 | raw file
 1# bash completion for rrdtool
 2
 3have rrdtool &&
 4_rrdtool ()
 5{
 6    cur=`_get_cword`
 7    COMPREPLY=( $( compgen -W 'create update updatev graph dump restore last \
 8        lastupdate first info fetch tune resize xport' -- "$cur" ) )
 9} &&
10complete -F _rrdtool rrdtool
11
12# Local variables:
13# mode: shell-script
14# sh-basic-offset: 4
15# sh-indent-comment: t
16# indent-tabs-mode: nil
17# End:
18# ex: ts=4 sw=4 et filetype=sh