/bash_completion.d/autorpm
http://github.com/brinkman83/bashrc · #! · 23 lines · 18 code · 5 blank · 0 comment · 0 complexity · dd9ece521a1b18ecb1403d76a2dac7f5 MD5 · raw file
- # 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
- # Local variables:
- # mode: shell-script
- # sh-basic-offset: 4
- # sh-indent-comment: t
- # indent-tabs-mode: nil
- # End:
- # ex: ts=4 sw=4 et filetype=sh