PageRenderTime 18ms CodeModel.GetById 16ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/bash_completion.d/autorpm

http://github.com/brinkman83/bashrc
#! | 23 lines | 18 code | 5 blank | 0 comment | 0 complexity | dd9ece521a1b18ecb1403d76a2dac7f5 MD5 | raw file
 1# autorpm(8) completion
 2
 3have autorpm &&
 4_autorpm()
 5{
 6    local cur
 7
 8    COMPREPLY=()
 9    cur=`_get_cword`
10
11    COMPREPLY=( $( compgen -W '--notty --debug --help --version auto add \
12        fullinfo info help install list remove set' -- "$cur" ) )
13
14} &&
15complete -F _autorpm autorpm
16
17# Local variables:
18# mode: shell-script
19# sh-basic-offset: 4
20# sh-indent-comment: t
21# indent-tabs-mode: nil
22# End:
23# ex: ts=4 sw=4 et filetype=sh